🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Java Interview Questions: all 10 questions

Quiz: Java Interview Questions · Question 1 of 10

Can a static method be overridden?

Can a static method be overridden?

  1. A.Yes
  2. B.No — it can only be hidden
  3. C.Only in interfaces
  4. D.Only if it is final
Answer & explanation

Correct answer: No — it can only be hidden

Static methods belong to the class; a same-signature static method in a subclass hides the parent's.

Can you get the rest right without peeking?

Take the timed Quiz: Java Interview Questions quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →