0% found this document useful (0 votes)
106 views2 pages

Java Language Fundamental..

Identifiers in Java are names used to identify classes, variables, methods and labels. Identifiers must start with a letter, underscore or dollar sign and can include alphanumeric characters. Identifiers are case sensitive and there is no limit on length. Reserved words cannot be used as identifiers. Predefined class and interface names can be used as identifiers. OOPs concepts in Java include encapsulation, abstraction, inheritance, polymorphism, coupling, cohesion and object casting.

Uploaded by

SanchitMishra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
106 views2 pages

Java Language Fundamental..

Identifiers in Java are names used to identify classes, variables, methods and labels. Identifiers must start with a letter, underscore or dollar sign and can include alphanumeric characters. Identifiers are case sensitive and there is no limit on length. Reserved words cannot be used as identifiers. Predefined class and interface names can be used as identifiers. OOPs concepts in Java include encapsulation, abstraction, inheritance, polymorphism, coupling, cohesion and object casting.

Uploaded by

SanchitMishra
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 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