Explain about Superclass and Subclass?

Answer Posted / niranjanravi

Super class is the class that is inherited and Subclass is
the class that does inheriting.

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is class array in java?

730


Can we use this () and super () in a method?

750


How to display all the prime numbers between 1 and 100

732


What is comparator in java?

760


What is the function of java?

760


What is the use of StringTokenizer class?

835


When should I use a singleton?

797


What does the string method compareto () do?

786


Detail discussions on JVM, memory management and garbage collector.

764


What is the purpose of a default constructor?

845


Why do we need array in java?

771


What is the purpose of extern variable?

781


What is the method to declare member of a class static?

786


What is return in java?

751


How can an exception be thrown manually by a programmer?

762