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 static function and static class?

Answer Posted / anthony michael

Static function and static variable does not below to single
instance of a class.

To access static functions we don't need instance of a class
instead it can be accessed using the class name followed by
::operator as:
[class_name::static_function() ]

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about vectors in c ++?

978


What is the difference between multiple and multilevel inheritance in c++?

1097


Explain the differences between private, public and protected and give examples.

977


What is the use of lambda in c++?

981


How can you link a c program with a c function?

1027


What is long in c++?

1209


What is operators in c++?

962


Can the operator == be overloaded for comparing two arrays consisting of characters by using string comparison?

1033


Difference between strdup and strcpy?

1148


Explain the uses of static class data?

1063


What is c++ map?

1076


Why was c++ created?

981


What is new in c++?

1061


Does improper inheritance have a potential to wreck a project?

1098


What is implicit conversion/coercion in c++?

1373