Beruflich Dokumente
Kultur Dokumente
AIM
1.
2.
3.
4.
5.
9.
10.
11.
6.
7.
8.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
Write a Java class to create a box having width, height and depth,
using java objects create two boxes of different dimensions and
calculate their volume.
Use constructors to create two boxes and calculate their volume.
Give an example of Method overloading in java. Constructor
overloading in java
Write an example to show use of this keyword. With variables.
With methods. With constructors
Write a program to demonstrate a. Call by value. Call by
reference
Using recursion write a program to show factorial of a number.
Write a program to show the difference between various access
modifiers i.e public, private, protected and default.
Write a program to show:. Difference between static variable and
not static variable. b. Difference between static method and not
static method. c. Significance of static block.
Create three arrays of different dimensions and write a program to
DATE
SIGNATURE
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.