Skip to content

Commit fbfeb05

Browse files
Chapter 9 Practice Set Solution
1 parent d9599e1 commit fbfeb05

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

44.Chapter_9_Practice_Set/README.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Java Tutorial: Exercise on Access Modifiers and Constructors
2+
3+
1. create a class cylinder and use getter and setters to set its radius and height
4+
2. use ➊ to calculate surface and volume of the cylinder
5+
3. Use a constructor and repeat ➊
6+
4. Overload a constructor used to initialize a rectangle of length and breath 5 for using custom parameters
7+
5. Repeat ➊ for a sphere

0 commit comments

Comments
 (0)