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 abstrac class?where is it use?

Answers were Sorted based on User's Feedback



What is abstrac class?where is it use?..

Answer / gp

Class which cannot be initiated is an abstract class.
You can make a class abstract by declaring a pure virtual method inside the class. For example:

class base
{
void func()=0;
};

void main()
{
base b;
}

Now you cannot instantiate base class.
The class which inherits this base class will also become abstract unless you define a body of the func() method in inherited class.

Is This Answer Correct ?    0 Yes 0 No

What is abstrac class?where is it use?..

Answer / vijaya lakshmi

abstrac class always said to algorithm. Bacause you
ara writing program before explain a program in algorithm

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More OOPS Interview Questions

WAP to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)

1 Answers  


what is the 3 types of system development life cycle

1 Answers  


Can we call a base class method without creating instance?

6 Answers  


in the following, A D B G E C F Each of the seven digits from 0,1,2,3,4,5,6,7,8,9 is: a)Represented by a different letter in abov fig: b)Positioned in the fig abov so tht A*B*C,B*G*E,D*E*F are equal. wch does g represents? C

1 Answers   IonIdea,


Is this job good for future? can do this job post grduate student?

0 Answers  


What are the fields of vtable

1 Answers   Mphasis,


How to reverse a sentence in c program ex: ram is a good boy answer: boy good a is ram

0 Answers   IBM,


write a program to print * * * * * *

2 Answers  


Which language is pure oop?

0 Answers  


Why do we need oop?

0 Answers  


explain defference between structure and class with example

2 Answers  


c++ is a pure object oriented programming or not?

5 Answers   Wipro,


Categories