We can declared only one class should be public No two class should be declared as public in single java file.
Class Name :- 1st letter should be capital letter.
Method Name or Function Name 1st letter should be small letter.
Java is programming language.
It is advance version of C++.
Java is developed by “ James Gosling ” in 1995 at Sunmicro system.