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...
Sur cette page du site, vous pouvez voir la vidéo en ligne Java Interview Question And Answer Static Field in Java Explain Java Interview Question durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Interview DOT 22 novembre 2013, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 13,126 fois et il a aimé 13 téléspectateurs. Bon visionnage!