can we access the super class method using subclass object?
Answer Posted / azeem
Yes, you can acess the super class method by using the
subclass object because the super class methods are visible
to subclasses if not overriden. If the method is overriden,
then acess the super class method by using super.methodname
Is This Answer Correct ? | 17 Yes | 0 No |
Post New Answer View All Answers
What is java and why do we need it? Explain
Can we initialize the final blank variable?
What is style and indentation?
Give me an example of array and linked list? Where they can be used?
Suppose if we have variable ' I ' in run method, if I can create one or more thread each thread will occupy a separate copy or same variable will be shared?
What is constructor chaining and how is it achieved in java?
What is the replace tool?
Explain the usage of this with constructors?
Is java 11 paid version?
Is constructor inherited?
Is string is a data type in java?
Is java ee a framework?
Which container method is used to cause a container to be laid out and redisplayed in java programming?
What are the types of sockets in java?
Differentiate between nested and inner class in java.