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

1. A constructor must have the same name as the class that contains it.
2. A single method cannot be both public and private at the same time.
3. Data hiding is a means of achieving overloading of a particular method.
4. A class is an instance of an object.
5. A return value for a method is required.

1. true
2. true
3. false
4. false
5. false

Computer Science & Information Technology

You might also like to view...

If you add a tag that has the same key as an existing tag on a DB Instance, the new value overwrites the old value.

A. FALSE B. TRUE

Computer Science & Information Technology

____ is the process of gathering, storing, accessing, and analyzing data about a company in order to make better business decisions.

A. Business intelligence B. System architecture C. Business flowchart D. Enterprise architecture

Computer Science & Information Technology