Class Fundamental Java is a true object oriented language and therefore the underlying structure of all Java program is classes. Anything we wish to represent in a Java program must be encapsulated in a class that defines the state and behavior of the basic program components known as objects. Classes create objects and objects use […]
Unit 4: Operators
An operator is a symbol that tells the compiler to perform a specific mathematical, logical or other manipulation. Java has four general classes of operators. Arithmetic Operators: The operators that are used to carry out fundamental arithmetic operations are called arithmetic operators. The following table shows complete set of arithmetic operators. S.N Operator Meaning 1 […]