Question: short answer just choose latter thank u 9. Which object can be constructed to show any number of choices in the visible window? a) Labels.

short answer just choose latter thank u
short answer just choose latter thank u 9. Which object can be
constructed to show any number of choices in the visible window? a)

9. Which object can be constructed to show any number of choices in the visible window? a) Labels. b) Choice List d) Checkbox. 10. Which of the following methods can be used in java applets? a) main() method. b) constructors. c) init() method d) all of the above. 11. A GUI component that is used to generate an Action event when clicked is called a) Label b) Button. e) Canvas. Textfield. 12. In HTML, the head of the document is enclosed in a pair of a) and b) and and d)

and

13. Which of the following methods executes only once? a) start() method. b) init() method c) stop() method. d) destroy method 14 An ArrayList is created and named in the same way as an object of any class, except that you specify the a) Base type. b) Size of the array, c) Number of clements d) Name of the class, 15. Which of the following java Thread methods waits for a thread to die? a) void start b) void join c) void run) d) void sleep Page 1 # Question 1: Choose the right answer from the multiple-choice list. 115 Marks! 1. A class with no abstract methods is called a) Non-abstract class b) Abstract class c) Concrete class d) None of the above. 2. It is known that for a list of length, on an average, selection sort algorithm makes about ....... a) n(n+1)/2 key comparisons b) n(n-- 1/2 key comparisons C) n(n-1)/4 key comparisons d) n(n+1)4 key comparisons. 3. A. is a case in recursive definition in which a smaller version of itself is called a) Base case. b) General case. c) General solution. d) Recursive algorithm 4. If L is a list of size 1024, what is the maximum number of comparisons that binary search algorithm will perform on L? a) 21 b) 42 c) 22 d) 20 5. Which of the following is not a type of recursion? a) Tail recursion. b) Direct recursion c) Indirect recursion d) Base recursion 6. Which of the following layout managers attaches constraints to its components? a) GridLayout b) BorderLayout C) FlowLayout d) None of the above. 7. Which of the following inner classes has a name and is defined within a block of java code? a) Non static inner classes. b) Static inner classes. c) Local inner classes. d) Anonymous inner classes. 8. The method show that makes the Frame visible is inherited from the class a) java.awt. Window java.awt. Frame c) java.awt.Component d) javax.swing Applet Page2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!