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

We all know that a const variable needs to be initialized at the time of declaration. Then how come the program given below runs properly even when we have not initialized p?

1137


What is dynamic and static typing?

1251


Can we declare a base-class destructor as virtual?

1065


What are special characters c++?

1083


What is the use of string in c++?

1073


Is atoi safe?

1094


What is meaning of in c++?

1290


Do class declarations end with a semicolon?

1125


What are the c++ access specifiers?

1478


What is the type of this pointer in c++?

1112


What is a responder chain?

1108


What are multiple inheritances (virtual inheritance)?

1112


Write down the equivalent pointer expression for referring the same element a[i][j][k][l]?

1324


What are the two types of comments, and how do they differ?

1211


How many characters are recognized by ANSI C++?

1465