Program to Demonstrate Inheritance in Java

Instructions: 1.)Save this program to a file and name it

Tested in compilers: Eclipse and Command Line.

Input using GUI in Java

This is a simple program to take input from a user using GUI.

Tested in Compilers: Eclipse and command Line

Program to find the GCD of a number using C++

Program to find the LCM of a number

C++ Hello World Basic Program

The following is a basic C++ program to display “Hello World!”.