Unit 7: A Closer Look at Methods and Classes

Overloading Methods In Java it is possible to define two or more methods within the same class that share the same name, as long as their parameter declarations are different. When this is the case, the methods are said to be overloaded and the process is referred to as method overloading Method overloading is one […]

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 […]