Can u write constructor in abstract.If yes den when it will
be invoked.

Answer Posted / chaitali chari

You cannot have a abstract constructor. If you declare a
constructor as abstract then it would give any error while
compilation saying abstract modifier not allowed.

Is This Answer Correct ?    3 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give few examples of final classes defined in Java API?

698


How do you reverse sort in java?

496


Explain exception chaining in java?

600


Why does it take so much time to access an applet having swing components the first time?

1390


What is substring 1 in java?

583






What do you mean by constant time complexity?

594


How will you call an Applet using Java Script Function?

540


What is return type in java?

628


What are inner classes or non static nested classes in java?

701


What are the core java topics?

561


What are JVM.JRE, J2EE, JNI?

682


What is the difference between a constructor and a method?

562


What do you mean by thread safe?

535


How many types of classes are there in java?

513


How to connect to a remote database using Applet?

2039