Professional Documents
Culture Documents
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)