What does super()represent, and how is it used in Java?



What does super()represent, and how is it used in Java?..

Answer / nashiinformaticssolutions

• super() denotes a parent or base class's current instance.
• Used to: o Call the parent/base class's default constructor

Access the base class's methods
The superclass instance is indicated.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Can inner class final?

0 Answers  


How do you do a line break in java?

0 Answers  


What is the output of the following Java program? class Main { public static void main(String args[]){ final int i; i = 10; System.out.println(i); } } 10. What is the output of the following Java program? class Main { public static void main(String args[]){ final int i; i = 10; System.out.println(i); } }

1 Answers  


How do you set security in applets?

1 Answers   Wipro,


What is incompatible types in java?

0 Answers  






What do heavy weight components mean in java programming?

0 Answers  


What is the byte order of byte buffer?

0 Answers  


Can we use return in constructor?

0 Answers  


Can anonymous class have constructor?

0 Answers  


Is null an object java?

0 Answers  


Where can i get Latest SUN Certification Dumps and what are the Sun Certification Codes that are available, Im new to JAVA, so please gimme info as i need to write J2EE - Core Java Certification

0 Answers  


What are the string methods in java?

0 Answers  


Categories