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 |
How would you use Bubble Sort to sort the number of elements?
program to find 25 square = 625 here the 625 of last two digits is equal to 25, i don't know excatly what this type of number is called
What is the integer of 16?
Why do we use return statement?
Can I learn java without any programming experience?
Instead of writing Home, Remote Interfaces if i directly extends EJBObject to bean class what happens?
Which list is sorted in java?
wht is mean by dirty read?
How do I convert a numeric ip address like 192.18.97.39 into a hostname like java.sun.com?
What is a variable in java?
Why is logger singleton?
How to call static method?