Java Interview Question and Answers Instance Variable and Local Variable In Java Difference

Published: 17 November 2013
on channel: Interview DOT
1,095
5

Click here -    / @interviewdot   to get notifications. Java Interview Question and Answers Instance Variable and Local Variable In Java Difference

Instance variable can have all access modifier (private,protected,public) and some other non access modifier,while local variable can have only one non access modifier ie final.

Instance variable will get default value while local variable won't get any default value.

Scope of the instance variable will be the Object while local variable will be visible inside method only.

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 Answers Instance Variable and Local Variable In Java Difference with a duration of hours minute second in good quality, which was uploaded by the user Interview DOT 17 November 2013, share the link with friends and acquaintances, this video has already been watched 1,095 times on youtube and it was liked by 5 viewers. Enjoy your viewing!