R

Ram Sharma • 193.86K Points
Coach

Q. What is the use of Access modifier "pubic" in Java language?

  • (A) To hide the main method from misuse
  • (B) To call the main method outside of Class or Package by JVM
  • (C) To protect main method
  • (D) None of the above
  • Correct Answer - Option(B)
  • Views: 892
  • Filed under category JAVA

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics