JAVA TUTORIAL : 3 (FEATURES OF JAVA AND NAMING CONVENTIONS)

Features of JAVA
1. PURE OOPs =
In java, everything resides in the class. thus it makes it purely an Object Oriented Programming Language.
For example :

class
{
main()
body of your program/function/procedures.

}
}

2. Platform Independent :
JAVA is platform independent. thus it means that if you write a program in any o.s. you can use it in other one and it will give you the same result.

program in java - abc.java/source code - compile it- there will be byte code generated as abc.class-Interpret -Execute.

so you can carry class file any where at the other platform to run the program. This feature also provides the improved SECURITY feature in the java as source code can not be viral even if you run your program at any other machine.

3. JAVA provides you to develop all the three kind of software that are DESKTOP APPLICATIONS,MOBILE APPLICATIONS AND ALSO WEB APPLICATIONS.

Now moving onto naming conventions in java.

1. If you're using any class in built in java like SYSTEM/STRING ETC then the first alphabet must be capital. Like System/String.
2. If you're using any inbuilt method then 1ST alphabet of each word must be capital except the 1st word. Like length(),charAt(),parseInt() etc.
so, this is it for now.

Link to Previous post :

JAVA TUTORIAL : 2
Link to Starting Post :

JAVA Tutorial : Beginner


Comments