About this document
OOP Rectangle Class Quiz for Students by محمد سمور is a document available to read on EtoBox.
This document contains a quiz for a computer programming lab course. It has two questions: 1) Question 1 has three parts (a, b, c) worth 10 marks total about some unspecified topic. 2) Question 2 worth 10 marks asks students to design a Rectangle class with width and height fields, default and parameterized constructors, and methods to return the area and perimeter of a rectangle. It then asks students to write a test program creating two Rectangle objects and displaying their attributes.
- Author
- محمد سمور
- Language
- EN