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

Physically securing your switches isn't necessary because users will not know how to access them.

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

Computer Science & Information Technology

You can use the options bar to set the ____ or width of a brush tip.

a. circumference b. radius c. diameter d. perimeter

Computer Science & Information Technology