Difference between == Operator and equals() Method in Java

Publicado em: 11 Novembro 2018
no canal de: VK Programming Villa
4,173
59

In this tutorial we’re going to look at very important Java concept difference between == operator and .equals() method according to the SCJP/OCJP Exam point of view and learn it with an examples with different code snippets in detail.

In this tutorial, we are going to discuss about == operator which is meant for Reference comparison (Address Comparison) and it returns true only when two objects are pointing to the same object otherwise it will get false. .equals() method used for Content Comparison and it returns true when two objects contain same value.

#java #==Operator #equalsMethod #.equals() #SCJP #OCJP #Interview #Programming #Tutorials

Social Links: Don't hesitate to contact me if you have any further questions.

FACEBOOK:   / cse.programming.assignments  

GOOGLE+ : https://plus.google.com/u/0/114693282...

Quora: https://www.quora.com/profile/Vinay-K...

Related Videos:    • OCJP-SCJP Exam / Java Interview Preparation  

Gmail: vkprogrammingvilla.com


Nesta página do site você pode assistir ao vídeo on-line Difference between == Operator and equals() Method in Java duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário VK Programming Villa 11 Novembro 2018, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 4,173 vezes e gostou 59 espectadores. Boa visualização!