Constructor in java is a special type of method that is used to initialize the object.Java constructor is invoked at the time of object creation.
Inheritance in Java Inheritance in java is a mechanism in which one object acquires all the properties and behaviors of parent object.
Object-Oriented Programming Concepts If you’ve never used an object-oriented programming language before, you’ll need to learn a few basic concepts before you can begin writing
Program 1: Reverse a number using while Loop
For loop: In Java we have three types of basic loops: for, while & do-while. In this article we are going to discuss about for loop.
To create a java code an editor such as notepad, text pad or an IDE like eclipse can be used.