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


Please Help Members By Posting Answers For Below Questions

What is lazy loading in jpa?

509


What is a service layer in java?

490


What are messages in java?

550


Can a method be static and synchronized?

613


What is java lang?

518






How do I run a java project in netbeans?

557


What do you understand by a variable?

603


What is a delimiter in java?

561


Is lambda cheaper than ec2?

581


How do I create an executable jar file?

611


What kind of thread is the garbage collector thread?

579


How can you work with permissions from your .net application? : java security

575


I want to control database connections in my program and want that only one thread should be able to make database connection at a time. Define how can I implement this logic?

660


What if I do not provide the string array as the argument to the method?

573


What is orm in java?

570