What is a super class and how super class be called?

Answer Posted / ramakrishna challapalli

super class is a class which is inherited by sub class.
Super class methods are bu using super keyword Syntax is
super.methodname();

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the restrictions imposed by a Security Manager on Applets?.

2051


Is alive and join method in java?

523


Is string is a keyword in java?

536


Why is it important to initialize a variable?

480


Write a function to print Fibonacci series and Tribonacci series?

740






Is empty list java?

505


What is a generic data type?

558


What is the default value of an object reference declared as an instance variable?

524


What does flag mean in java?

524


Can you explain the usages of class.forname()?

593


What is identifier with example?

557


Explain why wait(), notify() and notifyall() methods are in object class rather than in thread class?

546


How can you share data between two thread in Java?

512


Assume a thread has lock on it, calling sleep() method on that thread will release the lock?

610


What is operator overloading. Is it is supported in java?

510