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

What is overloading in oop?

0 Answers  


What is inheritance and how many types of inheritance?

0 Answers  


What is the use of fflush(stdin) in c++?

4 Answers   HCL,


In c++ there is only virtual destructors, no constructors. Why?

4 Answers   IBM, Polaris,


What are the three parts of a simple empty class?

0 Answers  


Why do we use inheritance?

0 Answers  


Which is the parameter that is added to every non-static member function when it is called?

3 Answers   Accenture,


What is difference between inheritance and polymorphism?

0 Answers  


Why is destructor used?

0 Answers  


what is overloading

3 Answers   MindCracker,


There are 2 classes defined as below public class A { class B b; } public class B { class A a; } compiler gives error. How to fix it?

3 Answers   Microsoft,


What is static modifier?

0 Answers  


Categories