Suppose class X contains the following method: Void doSomething(int a, float b) {... } Which of the following methods may appear in class Y, which extends X?
a. Private void do Something( int a, float b) throws java. io. IO Exception {...}
b. Public void do Something( int a, float b) throws java. io. IO Exception {...}
c. Private void do Something( int a, float b) {...}
d. Public void do Something( int a, float b) {...}
Answer: d. Public void do Something( int a, float b) {...}
You might also like to view...
Sophisticated computer systems require an extension of understanding visual images. This is called a _____ system.
A. robotic B. perceptive C. learning D. virtual reality
____________________ is an automated power plan that reduces system performance and screen brightness to help you get maximum computing time on each battery charge.
Fill in the blank(s) with the appropriate word(s).
____ is a language like SGML used to create markup languages but without SGML's complexity and size.
A. XML B. XHTML C. HTML D. XSL
Clicking the item marked 2 in the figure above opens a menu from which you can choose to ________________.
A. Update tasks B. Reschedule Work C. Delete baselines D. None of the above