Java - Online Test - == operator - javasearch.buggybread.com


Share

Search Java Test Questions


 223 test questions in repository.




Java - Test Questions on '== operator' - 1 questions found


Which of the following is true for == operator ?Core Java
For primitives, == checks if the variables on left and right have same data type
For primitives, == checks if the variables on left and right have same value
For Objects, == checks if the references on left and right have same data type
For Objects, == checks if the references on left and right have same value

  == operator  equality







comments powered by Disqus