How many copies of a class static member are shared between objects of the class?

Question:How many copies of a class static member are shared between objects of the class?

1.A copy of the static member is shared by all objects of a class

2.A copy is created only when at least one object is created from that class

3.A copy of the static member is created for each instntiation of the class

4.No memory is allocated for static members of a class


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!