You are on page 1of 2

Java Language Fundamental...

Identifier-A name in java program is called identifier which can be used for
identification purpose. It can be method name, variable, class or label name.
Ex:
class Test
{
public static void main(String[]

args)

{
int x=10;
}
}
Rulesonly allowed characters are alphanumeric, $, _
2. Identifiers can't start with digit.
Ex. total123 is valid , 123total invalid.
3. java identifiers are case sensitive.
Ex: num=10; Num=10; NUM=10; all are different variables.
4.No length limit for java identifiers
5. We can't use reserve words as identifiers
6. All predefined java class name and interface names , we can use as identifiers
Ex:
class test
{
public static void main(String[] args)
{
int String=10;
int Runnable=10;

}
}

Oops Concept
Data Hiding
Abstraction
Encapsulation
Tightly Encapsulated Class
IS-A- Relationship or inheritance
Has- A Relationship
Method Signature
Overloading
Data Hiding :

Overriding
Static Control Flow
Instance Control Flow
Constructors
Coupling
Cohesion
Object Type Casting

You might also like