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



If one class havent the constructor, it has normal method, then can i use super keyword to call th..

Answer / srikanth

no,without constructer we cant call super class members

Is This Answer Correct ?    1 Yes 0 No

If one class havent the constructor, it has normal method, then can i use super keyword to call th..

Answer / 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

More Java Related AllOther Interview Questions

What is transactional in java?

0 Answers  


What is flatmap java?

0 Answers  


Does netbeans need jdk?

0 Answers  


i have make jar file but when i click in this file then arr swhow "no faund main class" plese help me in this problem becose i want to make a jar file as a dxdcutable file

1 Answers  


What is crud operations in java?

0 Answers  






Difference between Abstract Class & Interface?

4 Answers   HCL, IBM,


What's the difference between local, global and universal groups? : java security

0 Answers  


How do I know if I have jre or jdk?

0 Answers  


What do you understand by casting in java language? What are the types of casting?

0 Answers  


What is repository pattern in java?

0 Answers  


How can the static main method use instance variables?

0 Answers  


Which version of my browser should I use? : java security

0 Answers  


Categories