Q1. prepare down a program in Java which describes the use of polymorphism. prepare down the appropriate classes and main method for the same.
Q2. prepare down a java program which draws a rectangle whose size rises every 1,000 ms.
Q3. Describe the merits and demerits of Java applets. Make an applet that receives two numerical values as input from the user and then displays the sum of these numbers on screen. prepare down the HTML code which calls the applet.
Q4. Make an inheritance diagram of AWT event classes. What do you meant by Semantic and Low-level events in the AWT? List different semantic and low-level event classes in the java.awt.event package?
Q5. prepare detail notes on any four of the given. Also prepare down small java code wherever essential:
a) Java Beans
b) Grid layout manager
c) Static members
d) Strings in Java
e) Use of sound and video in Java