Java class and the main method In this tutorial, we will discuss the concept of Java class and the main method. In this post, we are going to learn how to create Java class and main method Explanation of Java class and the main method In the above code example in Java, We are using…
Category: Oop java
Abstract class in Java programing language
Abstract class in Java programing language In this tutorial, we will discuss the OOP concept of abstract class in Java programing language. Abstraction is one of the Oop concepts. A class that contains at least one abstract method is known as an abstract class. The abstract class is a class which contains at least one…
Method overriding in Java language
Method overriding in Java language In this tutorial, we will discuss the concept of method overriding in Java language. We have already looked at method overloading in Java. Now, we will learn method overriding in Java. Method overriding looks like method overloading with some difference. When a subclass has the same method as the one declared…
Encapsulation in Java programming language
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…
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 Java programming language
Inheritance in Java programming language In this tutorial, we will discuss the subject of Inheritance in Java programming language Inheritance is one of the most effective concepts or feature of Oop paradigm. This helps to establish a link or connectivity between two or more classes. Inheritance helps to access properties(State and behaviours) and methods of…
Multilevel inheritance in Java language
Multilevel inheritance in Java language In this tutorial, we will discuss the subject of Multilevel inheritance in Java language Already, we have looked at multilevel inheritance in Inheritance in Java. Multilevel inheritance is one a concept in Java inheritance. A base class is inherited by a intermediate class and this derived class is inherited by…
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…