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?

Answers were Sorted based on User's Feedback



what is static?..

Answer / arul

static means retain the value in operation

Is This Answer Correct ?    8 Yes 2 No

what is static?..

Answer / azaad

static is keyword which is used for a variable and also for
a method.
static variable is initialized only once (i.e)one time memory.
static method of a class should not called with an objecy it
should be called with class name...
syntax: class-name.static method()

Is This Answer Correct ?    3 Yes 0 No

what is static?..

Answer / suresh reddy

1. Static limits the scope of an object(variable) or a
function to the file in which it being compiled.
2. A static variable retains its value between function
calls, even though its a local variable.
3. Lifetime of a static variable is the entire program.
4. We can't use extern keyword for a static object.

Is This Answer Correct ?    4 Yes 2 No

what is static?..

Answer / tanaji

if we use static method ,first static method will execute then other.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More OOPS Interview Questions

Tell us about yourself.

47 Answers   ABB, Amazon, Fidelity, Flextronics, Franklin Templeton, HCL, Hexaware, IBM, Impetus, Infosys, Reliance, Rofous, Silgate, Sutherland, TCS, Thomson Reuters, Virtusa, Wipro,


what is multi level inheritance give n example ?

13 Answers   HDFC, Hulas Steel, Ness Technologies,


Name an advantage of array over linked list?

24 Answers   GML, IBM, Software Solutions,


What is a class in oop?

0 Answers  


What is a superclass in oop?

0 Answers  


How can we use the preprocessor #if and #elseif.

2 Answers  


create a c++ program that will ask 10 numbers and display their sum using array.

1 Answers  


write a c++ code of diagonal matrix.

2 Answers  


Is enum a class?

0 Answers  


why freind function takes more parameter than normal member function in c++?

1 Answers   IBM,


We have a scale and 7 balls. 1 ball is heavier than all the rest. How to determine the heaviest ball with only 3 possible weighing attempts?

8 Answers   IBM, Sage, Vertex,


What are the features of oop?

0 Answers  


Categories