Why is it useful to be able to add private methods to interfaces?
What will be an ideal response?
A class’s private helper methods may be called only by the class’s other methods. As of Java SE 9, you can declare helper methods in interfaces via private interface methods. An interface’s private instance methods can be called directly (i.e., without an object reference) only by the interface’s other instance methods. An interface’s private static methods can be called by any of the interface’s instance or static methods
You might also like to view...
How are child pages updated?
What will be an ideal response?
A ________ is used to create a many-to-many relationship between two tables by storing their primary keys
A) unique table B) macro C) junction table D) single form layout
COGNITIVE ASSESSMENT When a document contains text displayed in 10-point Cambria, to what does the 10-point refer?
A. the font style B. the number of characters that can fit in one linear inch of text C. the number of colors in which a character can be displayed D. the font size
Case 2You plan to create a simple motion tween to be used in a Flash application. Answer the following questions about animation design strategies. As you work with the motion tween, consider using which of the following in order to see multiple frames in the tween at the same time?
A. Easing B. Animation physics C. Onion skinning D. Sequential filenaming