Computer Applications

Which of the following refer to as the default access specifier of a class ?

  1. private
  2. personal
  3. public
  4. 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