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

What does catch(…) mean?

1116


Refer to a name of class or function that is defined within a namespace?

1118


Can we declare a base-class destructor as virtual?

1009


What is else syntax in c++?

1209


What is the error in the code below and how should it be corrected?

761


What is scope operator in c++?

1083


Are strings immutable in c++?

1159


Can we define a constructor as virtual in c++?

1126


Explain how we implement exception handling in c++?

1055


What are friend classes?

1066


Can char be a number c++?

1040


Can a program run without main in c++?

1211


What happens when the extern "c" char func (char*,waste) executes?

1089


What are the five basic elements of a c++ program?

1109


Is java easier than c++?

1028