Define a class named Employee with the following fields: empID , empName , deptID , bloodGroup , salary. Define following methods : setEmployeeDetails( ), printEmployeeDetails( ) Prompt the user to enter values.
Write a program to calculate the area of circle and cylinder by creating methods named areaOfCircle and areaOfCylinder in a class named Area and using a constant variable PI=3.14.
Define a class named Test with an instance variable num. Define a Constructor and a method named getReverse(). Create an object of the class pass an integer to the constructor to initialize num. Call getReverse() to get the reverse and print the reverse no.