Click here - / @interviewdot to get notifications. Java Interview Question And Answer Static Field in Java Explain Java Interview Question
What does it mean that a method or field is "static" ? Java Interview Question and Answer ?
1.Static variables and methods are instantiated only once per class.
2.In other words they are class variables, not instance variables.
3.If you change the value of a static variable in a particular object, the value of that variable changes for all instances of that class.
4.Static methods can be referenced with the name of the class rather than the name of a particular object of the class (though that works too).
That's how library methods like System.out.println() work. out is a static field in the java.lang.System class.
A Job Portal
http://www.InterviewDot.com http://www.InterviewDot.com http://www.InterviewDot.com
One Click Dream Job - http://www.interviewdot.com/upload-re...
Other Top Job Portals
www.Naukri.com
www.MonsterIndia.com
www.TimesJobs.com
Are you looking for a new Job ?
InterviewDot.com - A Job Portal
http://www.InterviewDot.com http://www.InterviewDot.com http://www.InterviewDot.com
One Click Dream Job - http://www.interviewdot.com/upload-re...
On this page of the site you can watch the video online Java Interview Question And Answer Static Field in Java Explain Java Interview Question with a duration of hours minute second in good quality, which was uploaded by the user Interview DOT 22 November 2013, share the link with friends and acquaintances, this video has already been watched 13,126 times on youtube and it was liked by 13 viewers. Enjoy your viewing!