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...


what is the main usage of an abstract keyword?please follow
the program
class A
{
void display()
{
System.out.println("hai");
}
void print()
{
}
}
class B extends A
{
void print()
{
System.out.println("Hello");
}
}
In this program i was gives the implementation of print()
according to my requirements in subclass.And there is no
definition in superclass then why we can use abstract
keyword before a method that i want to gives definition in
other classes,is any mistakes in the above usage of method?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Programming Languages AllOther Interview Questions

What function would you use to extract characters from a given string?

2 Answers  


what are the top level class of interface in java?

2 Answers   Satyam,


Piggy backing is a technique for a) Flow control b) sequence c) Acknowledgement d) retransmition

17 Answers   Fast Booking, HCL, Lucent, NIC,


how we define two jobs have same name??is it exist??

0 Answers   CTS,


Is class is a abstract datatype in java?

0 Answers  


how can we implement locks in plsql?

0 Answers  


5. How do you round the addition or subtraction of two numbers in assembler?

0 Answers   Wipro,


What is meant by QUEUE?

4 Answers   Mascot,


what is woransient key word? how it is used in java

0 Answers   Convergys,


how to display xisheet in list box in c# .net

0 Answers  


how pseudo column works?

0 Answers   Oracle,


what are all the ant command options

0 Answers  


Categories