Encapsulation in Java programming language In this tutorial, we will discuss the concept of the Encapsulation in Java programming language Encapsulation is one of the most important concepts of Oop programs. Other some Oop concepts are inheritance, polymorphism and abstraction Basically, It is used for security purposes in Java. We can use it in ATM, password…
Category: Oop
Interface in Java programming language
Interface in java programming language In this tutorial, we will discuss the Interface in Java programming language An interface in Java similar a class but it is not a class. It is the blueprint of a class. An interface can contain any number of data-members and methods with an empty implementation. A Java interface…
Inheritance In the Java programming language
Inheritance in the java programming language In this tutorial, we will discuss Inheritance In Java programming language Knowledge Area What is inheritance? Type of Inheritance extends and super keyword Method overriding Abstract Class & Methods what is inheritance? Inheritance is one of the feature or mechanism of Object-Oriented programming Languages(OOPs). Inheritance allows a class to…
The method in Java programming language
method in Java programming language In this tutorial. we will discuss the method in the Java programming language Java method The method is one of the important concepts for oop program languages similar to java. A method is just a segment of code that does a particular job a Java method has a collection of…