In fact, all Java programs are Object Oriented and all computer programs consist of two elements : CODE and DATA. Why Object Oriented Programming – because Object Oriented Programming organizes a program around its data (that is Object) and a set of well-defined interfaces. Java programs are a collection of whitespace, Identifiers, Comments, Literals, Operators.
Java is a free form of language. This means that you do not need to follow any special indentication rules. A programmer could have been written all on one in line or in any other strange way felt like typing it. In Java whitespace is a space, tab, or newline.
Identifiers are used for class names, method names, and variable names. An identifier may be any descriptive sequence of upper case (A, B, C…) & lowercase (a,b,c…) letters, numbers (0,1,2,..), or underscore (_), and dollar sign characters.
Java is a case-sensitive, So VALUE is a different identifier than Value.
Major Three Principle of OOP
All Object oriented Programing has contained three major principle rules.