Can u write constructor in abstract.If yes den when it will
be invoked.
Answer Posted / murli
yes..it will be invoked when the child class extending the abstract class is instantiated
| Is This Answer Correct ? | 16 Yes | 1 No |
Post New Answer View All Answers
What is class??
What are the practical benefits, if any, of importing a specific class rather than an entire package (e.g. Import java.net.* Versus import java.net.socket)?
Explain what is encapsulation?
What is sizeof () operator?
What is the base class in java from which all classes are derived?
What is the syntax and characteristics of a lambda expression? Explain
Explain the access modifiers for a class, method and variables?
In java, how many ways you can take input from the console?
How do weakhashmap works?
What are inner classes or non static nested classes in java?
What are the main features of java?
In a program, initializing an array of 100 KB is throwing an out of memory exception while there is 100 MB of memory available. Why?
What state is a thread in when it is executing?
What are three advantages of using functions?
What kind of variables a class can consist of?