Search Interview Questions
| 3348 questions in repository.|
There are more than 200 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Java - Interview Questions and Answers|
|Ans. FALSE. == operator compares object references, a and b are references to two different objects, hence the FALSE. .equals method is used to compare string object content.|
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve  string   string class   java   ==   object references   coding Asked in 2 Companies basic   frequent|
Try 1 Question(s) Test
|How different is it when final applied to variables and object references ?|
| In which memory segment - heap or stack, the following stored by JVM|
1. static members
3. object references
4. local or method variables