Professional Documents
Culture Documents
Weekly Assignment-4 Due Date: 3 July 2020 - (11:55PM) Total Marks: 100 Roll No 6331 Name Jesis Maharjan
Weekly Assignment-4 Due Date: 3 July 2020 - (11:55PM) Total Marks: 100 Roll No 6331 Name Jesis Maharjan
Weekly Assignment-4 Due Date: 3 July 2020 - (11:55PM) Total Marks: 100 Roll No 6331 Name Jesis Maharjan
Roll no 6331
1. Follow the same commenting style for the following programs taught in the specific
dates mentioned.
2. Your answer should also include output of every program in your system.
3. Also draw the UML – class diagram of each program including above
-width :double
-length :double
+Rectangle( )
+setWidth(double ):void
+setLength(double):void
+getWidth( ) : double
+getLength( ):double
+getArea( ):double
2 c)
3 c)
4 d)
5 a)
6 a)
7 b)
8 c)
9 a)
10 b)
11 a)
12 c)
13 d)
14 a)
15 b)