Can you have a constructor in abstract class?
Answer Posted / neelamadhab mallick
A Abstract class never can be instanciate. if a concrete
method present inside the abstract class with the return
type of the same class, then it is possible to create the
object, but constructor will not called.
| Is This Answer Correct ? | 11 Yes | 22 No |
Post New Answer View All Answers
Compare Mutex and Semaphore in java.
What is the synchronized method modifier?
How will you reverse a link list without using recursion?
How does split work in java?
What is stringjoiner ?
How do you convert boolean to boolean?
What is split return?
Differences between traditional programming language and object oriented programming language?
Give a practical example of singleton class usage?
What do you understand by weak reference?
What is native method in java?
Explain about instanceof operator in java?
What is an interface in java? Explain
What must a class do to implement an interface in java programming?
Make a data structure and implement an algorithm to print all the files in a directory. (The root directory can have sub-directories too.)