Answer Posted / jagadeesh
sub class is the child of super class and super class is
the parent of sub class
sub class auto matically having all the properties of sub
class and super class itsef, but super class having all the
properties of super class only not the sub class properties.
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
Can constructor be static or final?
What are the ways in which a thread can enter the waiting state?
What is the difference between processes and threads?
What are the differences between heap and stack memory in java?
What is a function argument in java?
Which is a valid identifier?
can I implement my own start() method? : Java thread
Can I import same package/class twice?
Can static method access instance variables ?
How can we make copy of a java object?
What are predicates in java 8?
What is method reference in java?
What is singleton class and how can we make a class singleton?
Is a class subclass of itself?
Can we call the constructor of a class more than once for an object?