Can you have a constructor in abstract class?

Answer Posted / sumit

But you can create constructor in an abstract class.
and whenever you careate object of class implementing
abstarct class, constructor of te abstract class runs.

Is This Answer Correct ?    108 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the size of string?

566


What is the purpose of final keyword and when to use it?

528


Explain about arraylist?

579


What types of index data structures can you have in java?

614


Is arraylist sorted in java?

533






What is the program compilation process?

586


Difference between linkedlist and arraylist.

592


List two java ide’s?

614


How many unicode characters are there?

558


What will happen to the exception object after exception handling?

578


When a byte datatype is used?

567


Are primitives objects?

566


What is preflight request?

532


Difference between operator overloading and function overloading

613


How the metacharacters are different from the ordinary characters?

567