Answer the following statements true (T) or false (F)
1. If two methods have the same names and parameter lists, you cannot overload them by just giving them different return types.
2. Constructors cannot be overloaded, which means a class can have only one constructor.
3. It is perfectly legal to write a class without any constructors.
4. Objects that are instances of a class cannot be stored in an array.
5. When you want to create a List object, you follow List with the name of a class inside angled brackets, and it specifies that the List can hold only objects of that class type.
1. TRUE
2. FALSE
3. TRUE
4. FALSE
5. TRUE
You might also like to view...
Data on EU citizens is
a. not as secure as data on US citizens b. protected even outside of the EU c. not protected by OECD principles d. protected in Europe but not outside of it
The process of pressing and releasing the left mouse button two times in rapid succession is known as ________
A) double-clicking B) clicking C) dragging D) right-clicking
The partition that contains the Windows OS files is known as the what type of partition?
A. extended B. dynamic C. boot D. primary
Many experienced penetration testers will write a set of instructions that runs in sequence to perform tasks on a computer system. What type of resource are these penetration testers utilizing?
A. kiddies B. packets C. scripts D. tasks