What happens when a class is made static like if a field or
member is made static it becomes class variable and is
shared by all the object of the class?



What happens when a class is made static like if a field or member is made static it becomes class ..

Answer / arvind verma

If a class is made static then we can access it's methods &
variables by using class name , no need to create class
object

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Core Java Interview Questions

Explain Stream Tokenizer?

4 Answers  


What is a numeric format?

0 Answers  


What is a finally block?

0 Answers  


What is java used for?

0 Answers  


What for read() function?

3 Answers  


What is the difference between a Window and a Frame?

6 Answers   Infosys, ProKarma,


What is a method header?

0 Answers  


there are some duplicate values in ArrayList, how U'll get that array with out duplicate?

4 Answers   CMC,


Define iterator and methods in iterator?

0 Answers  


What are internal variables?

0 Answers  


What is java console application?

0 Answers  


Explain break statement and continue statement?

3 Answers  


Categories