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
In questa pagina del sito puoi guardare il video online Difference between == Operator and equals() Method in Java della durata di ore minuti seconda in buona qualità , che l'utente ha caricato VK Programming Villa 11 novembre 2018, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 4,173 volte e gli è piaciuto 59 spettatori. Buona visione!