Browsing category

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…

Recursion in Java programming language

Recursion in Java programming language In this tutorial, we will discuss the concept of Recursion in the Java programming language. In this post, we will learn about the recursive method and how it functions in Java. We have already discussed recursive function in C language, C++  and Python language.   Recursion in Java Recursion is…

Difference between Method and constructor in Java

Difference between Method and constructor in Java In this tutorial, we will discuss the difference between Method and constructor in Java language. This is a very important concept in Java for students or programmers.   Now, we will get to know about the Java method Method The method does not need the name similar to…

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…