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 a service layer in java?

490


Why java?

607


What is difference between loosely coupled and tightly coupled in java?

517


What is meant by java se?

602


What kind of thread is the garbage collector thread?

579






What are the advantages of lambda functions?

580


What is transient in java?

559


What is factory pattern in java?

528


In java what is the difference between sleep() and wait() .

579


Why struts framework is used in java?

498


Which type of stream is in java?

568


What are jpa repositories?

556


Can we use lambda without functional interface?

588


What is the use of lambda functions?

583


How can I swap two variables without using a third variable?

585