Core java interview questions on local and instance variable
1. Do interfaces have member variables ?
2. Why there are no global variables in Java ?
3. Can you define private and protected modifiers for variables in interfaces ?
4. What is the default value of the local variables ?
Check out all interview questions:
- All core java interview questions
- All java collections interview questions
- Face to face java Interview questions
- Telephonic java interview questions