Index
Index
QUESTIONS SIGNATURE
1. WAP to print all odd numbers between 1 to 10.
2. WAP to find out factorial of a number through recursion.
3. WAP to accept Command line arguments & print them.
4. WAP to print Fibonacci series.
5. WAP that creates a class Accounts with following details: Instance
variables: ac_no., name, ac_name, balance. Methods: withdrawal (),
deposit (), display ().Use constructors to initialize members.
10. Create a class box having height, width, depth as the instance variables
& calculate its volume. Implement constructor overloading in it. Create
a subclass named box_new that has weight as an instance variable. Use
super in the box_new class to initialize members of the base class.
17. WAP that draws different color shapes on an applet. Set the
foreground & background color as red & blue.
18. WAP to show moving banner by applet.
19. WAP to implement Matrix multiplication by 2D array.
20. WAP to implement Vector. [Use:
addElement(),elementAt().removeElement(),size().]
21. WAP to demonstrate the use of equals(), trim() ,length() , substring(),
compareTo() of String class.
22. WAP to demonstrate the use of equals() and == in java.
23. WAP to implement file handling(both reading & writing to a file)
24. WAP to implement all mouse events and mouse motion events.