Question 1: Write a Java program which displays the reverse of a given number.
Question 2: Write a program which calculates the length (that is, number of characters) in the input string.
Question 3: Write a Java program to make a JFrame which displays a letter ‘A’ and which responds to the mouse click. For each mouse click it raises the size of the letter.
Question 4: Make a class DatePrinter with a method to print today’s date. Use this method from class Util, first by making an instance of class DatePrinter and next by using an anonymous class which extends class DatePrinter. Override the printDate() method in the anonymous class.