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

Does a derived class inherit or doesn't inherit?

1037


Can constructor be static in c++?

1049


What is class and structure in c++?

1079


What is new in c++?

1049


If I is an integer variable, which is faster ++i or i++?

1012


What is the equivalent of Pascal's Real a) unsigned int b) float c) char

971


what is pre-processor in C++?

1089


Is c++ harder than java?

1002


Explain some examples of operator overloading?

1033


I want to write a C++ language program that: 1. Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. The program should work for squares of all side sizes between 1 and 20.

2735


What is a virtual destructor? Explain the use of it?

941


Define the process of error-handling in case of constructor failure?

959


Explain static and dynamic memory allocation with an example each.

1041


How do you initialize a string in c++?

939


Draw a flow chart and write a program for the difference between the sum of elements with odd and even numbers. Two dimensional array.

6341