Core Java Interview questions

Total available count: 646
Subject - Java Technologies
Subsubject - Core Java

What is instance variable in java?

Instance variables are used by objects to store their states.Variables which are defined without the STATIC keyword and are outside any method declaration are object specific and are known as Instance Variables.Such variables are called instance variables because their values are instance specific and values of these variables are not shared among instances.

Next 5 interview question(s)


How many type of variables available in java,mention them?


What is the difference between protected and default(no specifier) access modifier?


What is visibility of default(no specifier) access modifier?


What is visibility of protected access modifier?


What is the visibility of public access modifier?