Java Program to find square and cube of a number using class and object
In this program, You will learn how to find square and cube of a number using class and object in java. Example: How to find square and cube of a number using class and object in java. Output: