Category Archives: Oop Java
- Home
- Archive by Category "Oop Java" (Page 2)
Method overriding in Java programming language
Method overriding in Java programming language We already (Earlier tutorial) had a look at as method overloading in Java. In this tutorial, we will learn about Method overriding in Java programming language. When the derived(sub class) class has a method in the same name as the parent class (super class), it is called method overriding. Method…
Read MoreEncapsulation in Java programming language
Encapsulation in Java programming language In this tutorial, we will discuss Encapsulation in Java programming language. Concept of Encapsulation Encapsulation is one of the most important OOP concepts in Java similar C++ and Python. Other Oop concepts are inheritance, Polymorphism and Abstraction Encapsulation is used for security purpose. It binds data members and methods into…
Read MoreClass and main method in Java language
Class and main method in Java language In this tutorial, We’ll learn about class and main method in Java language. Java is an Object-oriented language similar to C++. The class is a major part(as building blocks) of an object-oriented program. Java classes are a blueprint in Java which can be defined as a template. That…
Read More