Class, object, property (attribute), and value

This assignment tests your understanding of the terms class, object, property, and value. (Note that we will use the terms property and attribute interchangeably).

Run the payroll-calculator program. After playing around with it to see what it does, answer the following questions:

__________ How many objects are there in the user interface of this program?

__________ How many of those objects are instances of the TextBox class?

__________ How many of those objects are instances of the Label class?

__________ How many of those objects are instances of the Button class?

__________ How many of those objects are instances of the Combo box class?

__________ How many classes of object are used in the user interface of this program?

Which classes are used in this program?

 

 

 

 

 

__________ What is the value of the BackColor property of the Stop button?

__________ Which of the buttons has the highest value for its Width property?

__________ Which of the buttons has the highest value for its Height property?


Disclaimer: The views and opinions expressed on unofficial pages of California State University, Dominguez Hills faculty, staff or students are strictly those of the page authors. The content of these pages has not been reviewed or approved by California State University, Dominguez Hills.