Browsing tag

concept in Oop

Program to Electricity bill calculation using OOP in C++

Program to Electricity bill calculation using OOP in C++ In this tutorial, we will discuss the Program to Electricity bill calculation using OOP in C++ language In this topic, we are going to learn how to calculate the usage of electricity bill using OOP in C++ language   We can calculate monthly electric power usage…

Calculate electricity bill using OOP in Java

Calculate electricity bill using OOP in Java In this tutorial, we will discuss the concept of Calculate electricity bill using OOP in Java In this topic, we are going to learn how to calculate the usage electricity bill using OPP in Java language   We can calculate our monthly electric power usage using different methods…

Method in Java programming language with example

Method in Java programming language  with example In this tutorial, We will learn about Method in Java programming language with an example. Method in Java The method is an important concept in Object-oriented programming languages(Oop). In the Java programming language, a method is a segment of code referred to by a name that does a…

Interface in Java programming language

interface in Java programming language In this tutorial, we will learn  about the interface in Java programming language An interface in Java is similar to a class but it is not a class. interface keyword is used to create an interface in Java. An interface is an OOP concept and a technique to achieve abstraction….

Abstract class in Java programming language

Abstract class in Java programming language Abstract class In this tutorial, we will discuss Abstract class in Java programming language In Java programming language, Abstraction is one of the OOP concepts. A class that is declared as abstract is called as an abstract class. The abstract class can have abstract and non-abstract methods   Why…

Encapsulation 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…

Class 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…