Close Menu
  • Analog Design
    • Latest Analog Layout Interview Questions (2025)
  • Digital Design
    • Digital Electronics Interview Question(2025)
    • Top VLSI Interview Questions
  • Physical Design
    • Physical Design Interview Questions for VLSI Engineers
  • Verilog
    • Verilog Interview Questions(2024)
  • Forum
Facebook Instagram YouTube LinkedIn WhatsApp
SiliconvlsiSiliconvlsi
Forum Questions Register in Forum Login in Forum
Facebook Instagram YouTube LinkedIn WhatsApp
  • Analog Design
    • Latest Analog Layout Interview Questions (2025)
  • Digital Design
    • Digital Electronics Interview Question(2025)
    • Top VLSI Interview Questions
  • Physical Design
    • Physical Design Interview Questions for VLSI Engineers
  • Verilog
    • Verilog Interview Questions(2024)
  • Forum
SiliconvlsiSiliconvlsi
Home»What is super keyword in Java?

What is super keyword in Java?

Variables and methods of the superclass can be overridden in the subclass. In case of overriding, a subclass
object calls its own variables and methods.

A subclass cannot access the variables and methods of a superclass because the overridden variables or methods hide the methods and variables of the superclass. But still, java provides a way to access superclass members even if its members are overridden. Super is used to access superclass variables, methods, and constructors. Super if present must be the first statement.

Super can be used in two forms

  • The first form is for calling the superclass constructor.
  • The second one is to call super class variables and methods.

 

 

What is super keyword in Java
What is super keyword in Java

 

 

 

Facebook X (Twitter) Instagram Pinterest Vimeo YouTube
  • About Us
  • Contact Us
  • Privacy Policy
© 2025 Siliconvlsi.

Type above and press Enter to search. Press Esc to cancel.