Describe what a public access class is and when you would use one. 

What will be an ideal response?


The most liberal form of access is public. The keyword public is a class modifier. Classes that are public are accessible by all objects. Public classes also can be extended, or used as a basis for any other class. Making access public means that if you develop a good Employee class, and someday you want to develop two classes that are more specific, SalariedEmployee and HourlyEmployee, then you do not have to start from scratch.?

Computer Science & Information Technology

You might also like to view...

Discuss the difference between general and specific policies.

What will be an ideal response?

Computer Science & Information Technology

Write an XML schema document for Fig. 27.19.

What will be an ideal response?

Computer Science & Information Technology

In Excel, if there are numbers both above and below a cell and you attempt to use the AutoSum function, the function will add up the numbers to the left as its default

Indicate whether the statement is true or false

Computer Science & Information Technology

A dual axis chart contains a secondary vertical axis that reflects the ________ series

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology