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?
Answers were Sorted based on User's Feedback
Answer / srikanth
no,without constructer we cant call super class members
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / nivas
yes.we can use it.for ever class super class should be called
| Is This Answer Correct ? | 0 Yes | 1 No |
What is a jpa repository?
What is an action class in java?
What is the resourcebundle class?
What is type inference? Is type inference available in older versions like java 7 and before 7 or it is available only in java se 8?
What is hql in java?
For each of the following program segments,give a big zero analysis for the running time 1.For (i=0;i<m;i++) { // } 2.For (j=0;j<i;j++)
0 Answers St. Pauls University,
How do I open my java console?
Explain the common use of ejb?
Is jar an executable?
What are the differences between java’s old java date api and java 8’s date and time api?
Why we use beans in java?
What is dependency injection in java?