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...

Copyleft is a policy

a. that protects you from having others use your work. b. to legalize unlimited copying of digital music. c. is a term for a set of licensing plans. d. all of the above

Computer Science & Information Technology

Answer the following statements true (T) or false (F)

1) The OS performs a protection function to prevent unwanted interference between processes with respect to resources. 2) Windows process design is driven by the need to provide support for a variety of OS environments. 3) The unit of dispatching is usually referred to as a process or task. 4) In a multithreaded environment there are separate stacks for each thread, as well as a separate control block for each thread. 5) It takes less time to terminate a process than a thread.

Computer Science & Information Technology