Object & Classes In Java

Java is an object-oriented language which supports OOP features very well. Here are some fundamental concepts of Java, which are: Polymorphism Inheritance Encapsulation Abstraction Classes Objects Instance Method Message Passing Object An object in Java…

Basic Syntax Of Java

In this section of the Java tutorial, we will discuss the Basic Syntax of Java Programming language. A Java program can be considered as a collection of objects that communicate via invoking each other’s methods.…

How to start learning Java

Java is one of the most popular and widely used programming language. The reason behind the popularity of Java is an open source environment. You can use any of programming language source code in this…

Read Two Numbers and Print Their Quotient and Remainder in python

In this Basic Python Program, we will have a look at how read Two Numbers and Print Their Quotient and Remainder in python. Python program to read Two Numbers and Print Their Quotient and Remainder…

Print all Numbers in a Range Divisible by a Given Number in python

In this Basic Python Program, we will have a look at how to print all Numbers in a Range Divisible by a Given Number in python. Python program to Print all Numbers in a Range…

Input The Marks of 5 Subjects and Display the Grade in python

In this python program, we will display the grade in python. User need to input the grades on 5 subject. Python program to Input The Marks of 5 Subjects and Display the Grade sub1=int(input(“Enter first…

Reverse Number In Python

In this python program, we will have look at how to reverse number in python. Python program to reverse a number Number = int(input("Enter a number: "))     Reverse = 0     while(Number > 0):         Reminder = Number %10         Reverse = (Reverse *10) + Reminder         Number = Number //10           print("\n Reverse of entered number is = %d" %Reverse)   

Read a Number n and Compute n+nn+nnn in Python

In this Python program, we will have a look at how to read a number n & compute n+nn+nnn in python. Python Program To Read a Number n and Compute n+nn+nnn in Python n=int(input("Please enter…

Exchange the Values of Two Numbers Without Using a Temporary Variable in Python

In this Python program, we will have a look at how to exchange the values of two numbers without using a temporary variable in python. Python Program To Exchange The Values Of Two Numbers Without…

Calculate the Average of Numbers in a Given List In Python

In this Basic Python Program,  we will Calculate the Average of Numbers in a Given List. Average of Numbers= Sum of numbers/total; Python Program To Calculate the Average of Numbers in a Given List n=int(input("Please enter…