Computer Applications
Which of the following refer to as the default access specifier of a class ?
- private
- personal
- public
- new
Objects & Classes
5 Likes
Answer
public
Reason — The default access specifier of a class in Java is public when no other access specifier is mentioned.
Answered By
2 Likes
Related Questions
The …………… is called an instance of a class.
- attribute
- object
- state
- features
The objects we see around us are called as:
- Real world object
- Virtual object
- Imaginary object
- None of these
Read the following text and choose the correct answer.
Class is a blue print, describes for the similar types of objects which possess different characteristics and common behaviour.
Which of the following statements is valid for the objects?
- They possess same characteristics and behaviour.
- They possess same characteristics but different behaviour.
- They possess different characteristics and different behaviour.
- They possess different characteristics but common behaviour.
Fill in the blanks:
Creating _________ is the fundamental concept in object oriented programming language.