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

1. If two methods in the same class have the same name but different signatures, the second overrides the first.
2. Every class has a toString method and an equals method inherited from the Object
3. All methods in an abstract class must also be declared abstract.
4. A compiler error will result if an anonymous inner class tries to use a variable that is not final, or not effectively final.
5. A functional interface is simply an interface that has one abstract method.


1. FALSE
2. TRUE
3. FALSE
4. TRUE
5. TRUE

Computer Science & Information Technology

You might also like to view...

What sorting algorithm can be used to sort a linked list?

A. No sorting algorithm B. Almost any sorting algorithm C. Insertion sort only D. Quicksort only

Computer Science & Information Technology

Write a PL/SQL block to swap the values of two variables. Print variables before and after swapping.

What will be an ideal response?

Computer Science & Information Technology

Objects that make up a chart are called ________

A) chart data B) chart objects C) chart elements D) chart markers

Computer Science & Information Technology

When you type something in a cell and then press Enter, the cell pointer moves to the first cell of the next row. _________________________

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

Computer Science & Information Technology