can abstract class have constructor how can you achive
this ?

Answers were Sorted based on User's Feedback



can abstract class have constructor how can you achive this ?..

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

can abstract class have constructor how can you achive this ?..

Answer / ravikiran

Yes abstract class has a constructor

Is This Answer Correct ?    7 Yes 1 No

can abstract class have constructor how can you achive this ?..

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

can abstract class have constructor how can you achive this ?..

Answer / guest

dsf

Is This Answer Correct ?    1 Yes 10 No

Post New Answer

More Core Java Interview Questions

Why do inner class cannot have static declaration except static nested class?

2 Answers   TCS, Wipro,


Do you know why doesn't the java library use a randomized version of quicksort?

0 Answers  


What is the difference between path and classpath variables?

0 Answers  


Can we able to pass objects as an arguments in java?

0 Answers  


What is illegal identifier in java?

0 Answers  






What is meant by structural programming?

0 Answers  


What is command line argument

0 Answers   TCS,


What are the benefits of immutable objects?

0 Answers  


What are the problems faced by java programmers who don't use layout managers?

0 Answers  


23. Storage space in java is of the form Stack Queue Heap List 24. What is java code embedded in a web page known as Applets Servlets scriptlets snippets 25. Which of the following attributes are compulsory with an <applet> tag?. code,height & width. 26. What does 'CODEBASE' in an applet tag specify?. Files absolute path.

0 Answers   TCS,


What are keyboard events?

0 Answers  


Explain different ways of passing arguments to sub-routine?

1 Answers  


Categories