Question: please solve it as soon as possiple as you can PART 1: MCQ [10 Marks]: Each question carries a weight of 2 marks Question 1:

please solve it as soon as possiple as you can please solve it as soon as possiple as you can PART 1:

PART 1: MCQ [10 Marks]: Each question carries a weight of 2 marks Question 1: [10 marks] Read the following questions and choose the best answer. 1. By default, all the methods defined in an interface are: a. public b. static d. A and C e. B and C c. abstract 2. Which of the following exceptions are not tolerated by the compiler? a. FileNotFoundexception b. EOFException c. MalformedURLException d. All the above e. None of the above 3. Given set1 =[1,3,5,7], and set 2=[1,2,3,4]. What are the contents of set 1 after the following operation? set1. retainAl1 (set2) ; a. [1,3] b. [1,2,3,4,5,7] c. [5,7] d. [2,4] e. [1,3,5,7] 4. is the best choice when the user should choose a single item from a small group of choices. a. CheckBox b. TextArea c. RadioButton d. Label e. None of the above 5. Threaded classes can be defined by implementing the interface. a. Thread b. Runnable c. Exception d. Throwable e. A and B

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!