• Simple : Syntax is based on C++. So easier to learn for programmers with C++ knowledge.​
  • Object Oriented : Organized as a combination of different types of objects that incorporate with behavior.

  • Secured
  1. ​​ No explicit pointer
  2. Programs run inside virtual machine sandbox

  • Robust
  1. Strong memory management
  2.  Lack of pointers that avoids security problems
  3.  Automatic waste collection
  4. Exception handling and type checking mechanism

  • Portable : Can carry the JAVA bite code in any platform


  • Dynamic  : Platform Independent A platform is the hardware or the software environment in which the programs run. There are two types, hardware based and software based. JAVA provides software based platform. It has two components.
  1.  Runtime Environment
  2. API (Application Programming Interface)


  • Architecture Neutral : No implementation depend features.​

​Naming Conventions in JAVA

JAVA naming conventions are rules to follow when deciding identifiers such as class, variables, constant, methods etc.: This is not forced to follow but all the good programmers follow naming conventions in JAVA.It makes your code easier to understand to others as well as to yourself because readability is very important in JAVA programming.

Class name
  • Should start with uppercase letter
  • Should be a noun

E.g. – String , Color , System   

Interface name
  • Should start with uppercase letter
  • Should be an adjective

E.g. – Remote , Runnable  

Method name
  • Should start with lowercase letter
  • Should be a verb

E.g. – main(), print()

Variable name
  • Should start with lowercase letter

E.g. – firstName , packageNumber 

Package name
  • Should be in lowercase letters
Constant name
  • All letters should be in uppercase

E.g. – RED , BOX , SHIRT

​CamelCase in JAVA naming conventions

CamelCase in JAVA represents the naming of class, interface, variable and methods. If the name has two words the second name should start with an uppercase letter. E.g. – firstName