What is static and local variable?



What is static and local variable?..

Answer / Narendra Rajpoot

In programming, a Static variable maintains its value throughout the lifetime of the program and can be accessed by all methods within the same class. Local variables are declared inside methods or functions and exist only within that method's scope.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Warehouse General Interview Questions

Explain what are the different types of data warehousing?

1 Answers  


i have scheduled a report in a job in the cognos8.3 which would send the reports to the respective user ,now the repot ran and is sent to the respective user but it contains some unwanted data. So based on the senario can any one tell me that can we recall back the report ??????

1 Answers   Wipro,


1.WHAT IS DATA MART ?

5 Answers   HCL,


What is perform recovery?

1 Answers  


What is VLDB?

1 Answers  


What are data modeling and data mining?

1 Answers  


What are the other names given to data warehousing?

1 Answers  


What according to you might be the future of data warehousing?

1 Answers  


Explain in simple terms, the concept of Data Mining.

3 Answers  


What is is the guidelines to build universe with better performance? R performance tuning issues of universes?

1 Answers  


What are aggregate transformation?

1 Answers  


How are models actually derived?

1 Answers  


Categories