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

no,without constructer we cant call super class members

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is savepoint in java?

464


What is the difference between a jdk and a jvm?

493


What is the java virtual machine (jvm)?

604


What is property file in java?

479


What do you mean by exception handling?

483






What is aop in java?

494


What are java’s rules regarding tabs, spaces and newline characters?

1012


Can an application have multiple classes having main method?

485


Write a program for the following topic - switch case,looping using fuction calling,nesting,console input output. Aim- to print a menu:- 1-series 2-single value. Each menu having sub menu armstrong or perfect.

1509


Can we use lambda without functional interface?

505


What are the authentication modes in asp.net? : java security

494


Can I use openjdk for commercial?

504


What are the disadvantages of java sockets?

582


What is cmp in java?

498


How do I open my java console?

497