can abstract class have constructor how can you achive
this ?
Answers were Sorted based on User's Feedback
Answer / rajasekharreddy.y
Yes abstract class must have the constructor, these
constructor we can achive by creating the instance of the
concreate subclass of the abstract class.
| Is This Answer Correct ? | 14 Yes | 2 No |
Answer / 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 |
Describe the process as to how substring() methodology mechanisms in java.
What are the four integer types supported by java?
What code optimizations techniques you follow in general practice?
2 Answers Accenture, TCS, Wipro,
What is a generic data type?
Default layout of Dialog object?
What is the purpose of a parameter?
What is the list interface in java programming?
Under what circumstances an object reference be cast to an interface reference?
what are depricated methods in threads and explain the lifecycle methods
Explain how to convert any java object into byte array.
Convert Binary tree to linked list.
Is 'null' a keyword?