Java operators

Operator in java is a symbol that is used to perform some operation. Example: + , – , *, / etc. Java operators has been classified as following categories Unary Operator The unary operators works on only one operand, they perform various operations such as incrementing/decrementing a value by one, negating an expression, or inverting […]

Share this article on

Class and objects in Java

Let’s understand Class and objects in Java Class Class represents a real world entity which has both state and behavior which is applicable to all the objects of this Class. So Class is called as a blue print or a template using which each object will be created. Example: Create Student.java Class Student{ String id; […]

Share this article on
< Previous Next >