What is the nature of staticmembers of the class?

Questions by sridhar1987

Showing Answers 1 - 3 of 3 Answers

jaguarjj

  • Mar 22nd, 2011
 

Static members of the class aren't instantiated upon creating any object of this class because static members are defined for all objects within the same class (i.e. when you create a class called bank account and has all the data of clients and their accounts and a piece of information like interest rate which is mostly constant for all clients
when you set the value of interest rate in your class it should be sat as static variable as it is constants for all objects created from the same class)

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions