Can you have a constructor in abstract class?

Answer Posted / ashokmail.java@gmail.com

No. you can't make instance of abstract class.

Is This Answer Correct ?    42 Yes 62 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are assembly attributes?

537


What is ternary operator?

560


How can we create objects if we make the constructor private ?

533


Why can't we use static class instead of singleton?

493


What is the difference between a constructor and a method?

560






Describe the term diamond problem.

568


What are the two main uses of volatile in Java?

594


Do you need to import math in java?

555


What is static import in java?

521


What is the null?

531


What is generic type?

560


Is char a data type in java?

533


What do you understand by java?

555


Can we declare main () method as non static?

512


What is java thread dump, how can we get java thread dump of a program?

561