Can you have a constructor in abstract class?
Answer Posted / dileep
Yes you can have a constructor in abstract class but you
should not instansiated directly you have to write one
subclass extends the abstract class.
| Is This Answer Correct ? | 12 Yes | 1 No |
Post New Answer View All Answers
Why is java called the platform independent programming language?
what is a green thread? : Java thread
What is the basic of java?
What is the use of a copy constructor?
What is stringwriter?
What is difference between throw and throws ?
How can we pass argument to a function by reference instead of pass by value?
Write a program to print fibonacci series up to count 10.
Which keyword specify that a variable is effectively final ?
Write a java program to count the number of words present in a string?
How many bytes is a char in java?
What is difference between filereader and bufferedreader?
What is the abstract class?
What purpose do the keywords final, finally, and finalize fulfill?
Which class is the superclass for all the classes?