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 / jag

no we can have all concrete methods in abstract class
example:
all the methods in javax.servlet.HttpServlet class are
concrete but it is abstract class

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1061


Should a main method be compulsorily declared in all java classes?

1131


What is a flag value?

1101


Can a class be defined inside an interface?

1078


What is the purpose of assert keyword used in jdk1.4.x?

1125


what is function overloading in java?

1357


What is the largest long allowed by java?

1100


What is the use of set in java?

1183


What is the need of transient variables in Java ?

1116


How many inner classes can a class have?

1088


Is vector synchronized in java?

1056


How many types of interfaces are there?

1145


What is the most important feature of java? What is an interface?

1056


Can string be considered as a keyword?

1082


What happens when a thread cannot acquire a lock on an object in java programming?

1072