Java - Classes and Objects
Which of the following is the correct way to call an instance method
display() of an object obj?display() of an object obj?obj.display();.static display(); is invalid syntax.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions