Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

The detailed answer for the above question is provided below 1 Ans The correct ans... blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Programming questions