can abstract class have constructor how can you achive
this ?
Answer Posted / bhargava
You cannot crate the constructor for an abstract class
directly. But you can create constructor for subclass for
an abstract class by making new class sub class for the
abstract class.
Is This Answer Correct ? | 1 Yes | 7 No |
Post New Answer View All Answers
What does ide stand for?
What happens if a try-catch-finally statement does not have a catch clause to handle an exception that is thrown within the body of the try statement?
What is the string function?
What is the final variable?
what is thread in Java ?
Can we have this () and super () together?
What is a concrete classes? Is Java object class is concrete class?
What is the difference between the ">>" and " >>>" operators in java?
What is the difference between reader/writer and inputstream/output stream?
Is class forname reflection?
What is your platform’s default character encoding?
What is the purpose of finalization in java programming?
What is the meaning of flag day?
What is anagram in java?
Can we use string in switch case in java?