- JAVA OVERVIEW
- History of Java
- Tools you will need for java
- Java Environment Setup
- Popular Java Editors
- Java Basic Syntax/First-Program
- Java Identifiers
- Java Modifiers
- Java Arrays
- Java Enums
- Java Keywords
- Comments in Java
- Java - Objects and Classes
- Objects in Java
- Classes in Java
- Constructors
- Creating an Object
- Accessing Instance Variables and Methods
- Source file declaration rules
- Java Package
- Simple Case Study
- Basic Data Types
- Primitive Data Types
- Reference Data Types
- Java Literals
- Variable Types
- Local variables
- Instance variables
- Class or static variables
- Java Access Modifiers
- What is OOPS
- Inheritance concept
- Encapsulation
- What is Polymorphism
- Method Overloading
- Method Overriding
- Abstraction in Java
- Abstract class
- Interface in Java
- Method overloading in Java:
- What is Annonymous object?
- Java 8
What are Java Modifiers ?
First, we have to understand that we are talking about access modifiers in java that is used for your control over code accessibility.
Like all other languages, it is possible to modify classes, methods etc by using modifiers.
There are two categories of modifiers.
Access Modifiers : default, public , protected,
private Non-access Modifiers : final, abstract, strictfp
Types of Java Modifiers in Details
We will be looking into more details about modifiers in the next section.
What are the Java Variables ?
There are following type of variables in Java:-
1. Local Variables
2. Class Variables (Static Variables)
3. Instance Variables (Non-static variables)