What is use of super keyword?



What is use of super keyword?..

Answer / Satya Narayan Dhakad

The super keyword in Java is used to refer to the parent class or object. It can be used to call a method from the parent class, access variables declared in the parent class, and create an instance of the parent class.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Why does java have different data types for integers and floating-point values?

1 Answers  


What a static class can contains?

1 Answers  


What are thread groups?

1 Answers  


what is run time polymorphism

4 Answers  


What are different ways of object creation in java ?

1 Answers  


Explain Big-O notation with an example

1 Answers  


Why all programming languages have main as a execution starting point?

4 Answers  


Can we increase size of array?

1 Answers  


What modifiers can be used with a local inner class?

2 Answers  


Which class is the immediate superclass of the Container class?

1 Answers  


Can size_t be negative?

1 Answers  


How many threads can I run java?

1 Answers  


Categories