Professional Documents
Culture Documents
1.
2.
3.
4.
5.
6.
7.
car type (for eg-Ford Figo ) as another class that should have the properties of car and
obviously vehicle. Create objects of the specific car type and use all methods.
23. Create a class name Shape with two place holders area () and perimeter (). By using the
properties of the Shape class calculate the area and perimeter of Rectangle, Circle and
Triangle.
24. Implement Dynamic method dispatch to calculate the volume of at least 3 different
shapes.
25. Define one class that contains placeholders for getting the personal details of students.
Create two interfaces that contain methods for accepting course details and mark details.
Implement multiple inheritance and display all details of students.
26. Define a package ArithOper that contain classes to perform Addition, Subtraction,
Multiplication and Division. Import this package and perform the corresponding
operations.
27. Create a user defined exception and use it. Handle this exception by all possible
keywords.
28. Create multiple threads and use all possible methods associated with Threads.
(isAlive(),join(),start(),sleep(),stop()).
29. Illustrate the use of synchronized keyword.
30. Perform some file operations and also read the content of a file and write it to another
file.
31. Implement all the String functions
32. A) With the help of Generic class, find the average of 5 numbers.(Both Integer and
Floating point values).
33. Implement the same using Wildcard arguments
34. Using applet, draw
a) Indian Flag
b) Clock
c) Star
d) Polygon with eight corners
e) Display greeting card
f) Display message using 4 different fonts
35. Draw a human face using applet
36. Using applet, scroll a message from right to left across the applets window.
37. Handle all mouse events using applet
38. Handle only the mouse events mouse pressed and mouse dragged with the help of adapter
class.
39. Handle all keyevents using applet
40. Using applet, play an audio file.
41. Without using buttons, enter 3 values in 3 textboxes and find the sum of these values by
displaying the result in the applet window.
42. Prepare a Job Resume using applet .Accept all required details from user and when the
submit button is pressed all the details are to be displayed on a text area.
43. Draw the structure of a house. It should contain one door and two windows. Door is to be
represented using vertical scrollbar and windows are to be represented using horizontal
scrollbar. Change the colour of the house when you move these scrollbars.