Question: 1. A is a user-defined data type with a template that serves to define its properties. (a) object (b) class (c) data members (d)

1. A ––––––––– is a user-defined data type with a
template that serves to define its properties.
(a) object   (b) class
(c) data members   (d) methods


2. Which of the following will be the basic part of
method declaration?
(a) method name  (b) return type
(c) parameter list   (d) all the above


3. When an interface extends another interface,
––––––––– keyword is used.
(a) implements   (b) extends
(c) implement   (d) extend


4. To hide a class from a package, ––––––––– should
be declared.
(a) not private   (b) not protected
(c) not public   (d) not visible


5. In the life cycle of thread includes –––––––––
states.
(a) 3    (b) 4
(c) 5    (d) 6

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The detailed answer for the above question is provided below 1 Ans The correct ans... View full answer

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 Programming Questions!