JAVA class standerd.
It should start with Capital letter and in CamelCase (which means first letter of every word should start with capital letter. class name shouldn’t have Blank space, if you don’t use that standard then this will not give any error, but its for simplicity so you can easily understand coding).
why to use java class?
JAVA class is used as container. We can put Methods (functions) inside class, and we can also put variables. classes are basically used to manage methods and variables is structured way.
Types of JAVA class
JAVA classes are of two types :
- Built in classes
- User defined classes
in next part we will discus on these types of java class deeply.