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

How to avoid a class from instantiation?

Answer Posted / vidushi

Make the class abstract
abstract class abc
{
.....
.....
};

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of extern storage specifier?

1183


Do you know the use of vtable?

1130


How many namespaces are there in c++?

1071


What is data type in c++?

1009


What is namespace std; and what is consists of?

1287


Function can be overloaded based on the parameter which is a value or a reference. Explain if the statement is true.

1110


How do you add an element to a set in c++?

989


Which is not a valid keyword a) public b) protected c) guarded

1256


How will you call C functions from C ++ and vice-versa?

1139


Explain data encapsulation?

1122


How do you clear a set in c++?

1071


What is set in c++?

1120


Can you write a function similar to printf()?

1126


What are c++ manipulators?

1070


Define stacks. Provide an example where they are useful.

1010