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 is BASIS

0 Answers  


Write a program to swap the content of two variables without using a third variable.

0 Answers   Zensar,


write a program for finding the union of two integer array in java?

2 Answers  


What is WEB 3.0? What are the features their in WEB3.0

0 Answers  


How to call dll API sub routine in VB Form.

0 Answers  


10.Define filters,binary to hexadecimal,hexadecimal to decimal?

0 Answers  


how can we implement locks in plsql?

0 Answers  


A combination of multiple keys defined in a physical file or logical file is called a _________ key

3 Answers   IBM,


Explain with examples any 2 features of OOPS.

0 Answers   Tavant Technologies, Verifone,


1. Consider the following code in our example assembly language: ; an example bit of assembly code ROOT: W FATHER FATHER: W SON1 W SON2 SON1: W NIL W NIL ; ---------------------- SON2: W GRANDSON W NIL GRANDSON: W NIL W NIL NIL = 0 Assemble this code carefully following the two pass model, and show the symbol table at the point marked by the dashed line during each pass.

0 Answers   TCS,


How many ways we can fill a dataset in .Net

1 Answers   iGate,


What is the merger sort principle and its time complexity.

0 Answers   Verifone,


Categories