Java Program to add two integer numbers Hello world in Java Operators in Java Arrays in Java Loops Loops are used to execute a particular block of code several times till a specified condition is reached. Read more Methods Method in Java is a block of code which performs a particular task when it gets executed. Read more Constructors Constructor in Java is similar to a method but does not have a return type. A constructor is.. Read more if-else statement ‘if, if…else, if…else…if‘ statements is used to control the flow of a program. This is used to.. Read more Switch-case statement The ‘switch’ statement is used to execute a block of code from different number of cases. The expression.. Read more Break and continue statement Break statement is used to terminate any process. In loops it is used to terminate the loop and.. Read more Classes and Objects Java is an object oriented programming language which means it is composed of classes and objects … Read more Access modifiers Access modifiers are the keywords public, private, and protected and is used to set .. Read more Inheritance Inheritance makes code reusability. A class can inherit functions and attributes from another class. Read more encapsulation Encapsulation is data hiding. When there is a private keyword for variables or attributes or .. Read more