Multiple choice technology programming languages

which class is first called for all java class

  1. public void class

  2. object class

  3. inner class

  4. outer class

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In Java, java.lang.Object is the root of the class hierarchy. Every Java class implicitly or explicitly extends Object, making it the ultimate superclass. 'public void class' is invalid syntax, and inner/outer classes are nesting patterns.