Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Is it compulsory to have atleast one abstract method in
abstract class?

Answer Posted / saurabh m. chande

It is absolutely not necessary to have at-least 1 method as an abstract method in a class which is defined as an abstract.
But it is equally necessary to declare the class as an abstract class if at-least 1 method within that class is declared as abstract method.
Abstract class contains either the method declaration only or complete method implementation.

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the point of polymorphism java?

1069


Why do we override tostring method in java?

1025


When a thread is executing a synchronized method , then is it possible for the same thread to access other synchronized methods of an object ?

1094


Write a java program to print fibonacci series?

1005


Enlist few advantages of inheritance?

1130


what do you mean by stream pipelining in java 8? Explain

1079


Why hashcode is used in java?

1028


What are the Static and Dynamic Variables? Differentiate them.

1160


What is tcp and udp?

1069


What is string builder in java?

1059


What is :: operator in java?

1028


What is the loop in java?

1228


What is the byte range?

1076


What is public static void main?

1147


Why are generics used?

1033