what is main purpose of abstract class?

Answer Posted / venkatesh

abstract class have atleast abstract method
it is maily used for to prevent create object of class.

Is This Answer Correct ?    2 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a line break?

580


Write a function for palindrome and factorial and explain?

654


What will be the default values of all the elements of an array defined as an instance variable?

549


Can a class extend more than one class?

607


Is ruby built on java?

529






How do you add an arraylist to an array in java?

507


What is maximum size of arraylist in java?

490


Does constructor be static?

562


What does it mean that a method or field is “static”?

547


What is nested loop? What is dangling else condition in it?

572


What do you mean by chromounits in java8?

524


How do you reverse sort a list in java?

505


What is the difference between a factory and abstract factory pattern?

681


Is set ordered in java?

570


Differentiate storage classes on the basis of their scope?

668