Java Interview Question And Answer Class Static Variable Member Instance Variable Automic Variable

735 views · Published 22 December 2013 · 3:26 · Indexed 25 October 2026

Channel: Interview DOT · 2013 · Science & Technology

Watch on YouTube

Click here - https://www.youtube.com/channel/UCd0U_xlQxdZynq09knDszXA?sub_confirmation=1 to get notifications. Java Interview Question And Answer Class Static Variable Member Instance Variable Automic Variable
What is the difference between CLASS VARIABLE,MEMBER VARIABLE and AUTOMIC VARIABLE (LOCAL) ?
       
       1.CLASS VARIABLE  is a STATIC variable and does not belong to INSTANCE of class but rather 
       shared across all the instances.
       
       2.MEMBER / INSTANCE variable belongs to a particular instance of class and can be called from any method of the class.
       
       3.AUTOMIC / LOCAL VARIABLE is created on entry to a method and has only method scope.

A Job Portal
http://www.InterviewDot.com http://www.InterviewDot.com http://www.InterviewDot.com
One Click Dream Job - http://www.interviewdot.com/upload-resume/uploadresume.htm

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-resume/uploadresume.htm

More from this channel