If one class havent the constructor, it has normal method,
then can i use super keyword to call the method form the
sub class and vice verse?
Answer Posted / nivas
yes.we can use it.for ever class super class should be called
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is factory pattern in java?
Why do we need framework in java?
1.can i use super keyword in normal class(not inheritance) to call any method?if so how can i call particular variable? 2.In the inheritance how can i access the particular variable from the base class(it containing 5 variables) using super keyword?
What is http session in java?
Why is lambda expression used?
What is property file in java?
Why is class forname used in java?
Why doesn’t the main method throw an error with no arguments?
What is the difference between map and flatmap in java?
What is serializable in java?
Does netbeans need jdk?
What is javax annotation generated?
How should I format my code? How should I comment my code?
What is adoptopenjdk?
What are jdk tools?