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
What does n mean in java?
How to perform quicksort in java?
Is null or empty java?
Explain about exception propagation?
What causes memory leak in java?
Is it correct to say that due to garbage collection feature in java, a java program never goes out of memory?
What are variable names?
What is method overriding in java ?
What advantage do java's layout managers provide over traditional windowing systems?
Write an algorithm program in java for the following question.. In a VLSI design techniques,they used rectangles to design circuits. EVery rectangle is to be placed according to x,y coordinates. Check whether or not two rectangles overlap each other. Here overlapping of rectangles is acceptable, if 1) one rectangle intersect with other. 2) one rectangle fully covers other. The time of algorithm should not exceed o(n logn).
Why is whitespace important?
What is the difference between preparedstatement and statement in java?
What are inbuilt functions?
What is lastindexof in java?
How does arraylist work in java?