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
What is the static variable?
What is diamond operator in java?
Why are arrays useful in java?
How are the elements of a gridbaglayout organized?
What is the access scope of a protected method?
What is private protected in java?
What invokes a thread's run() method in java programming?
What is the function of compareto in java?
what state does a thread enter when it terminates its processing? : Java thread
What is the range of the short type?
What are triggers in DB? Explain their types. How do they work?
Can you access the private method from outside the class?
What is runtime polymorphism or dynamic method dispatch?
how to create constants in java?
How can you generate random numbers in java?