Java – Interview Questions and Answers – Part 6
1) What is the difference between static variables and instance variables? Answer: The below is the answer for this question: static variables are common variables who’s values will be stored in Class memory. instance variables are object specific variables who’s values will be stored in individual object’s memory. For detailed answer with practical examples and… (0 comment)