4/17/2016

BCS2233 OOP: Exercise Class


Write a class for each of the following specifications. In each case, include a constructor that set each member values to 0 and a member method named showdata() that can be used to display member values.


i) A class named rectangle that has double data members named width, height, and color.       
                      
ii) A class named time that has integer data members named hour, minute and second.


No comments:

Cara download Installer windows 10 dalam format ISO

1. Jika anda bercadang untuk download windows 10 melalui website rasmi windows - pilihan untuk download dalam format ISO tidak di berikan.  ...