Java Classes A class is a description of a set of objects and may contain one or more constructors to create objects. A class is defined by specifying instance variables, instance methods and through relationships with other classes. A Java class...
Java Objects An object of a class defined by attributes and behaviors. An object is an instance of the class. Attributes are characteristics that may change. Behaviors are actions that the object can do. Declaration An object is declared by writing...
Java Control statements The conditional instructions are instructions that tests whether a Boolean expression is true or false. If the condition is true then the java execute a set of instructions in the block. Java Control statements are: if-then if-then-else switch...
Java Data types and variables The variables are information stored in the memory areas of internal memory system. A variable name can not start with a number, can not contain special characters and reserved keywords. Java variables are: Primitive Data Types...