Introduction: Strings are used all over in any Java application. So, it’s important to understand how to compare two string objects. In this article, we’ll learn ways to compare String objects. 1.) Comparing References Using ‘==’ The == operator when used to compare strings is responsible for comparing only the references(not the content). So […]
Believe me, Strings is one of the core topics in Core Java as well as for OCA Java Certification exam.If you prepare this topic well, it gives you an extra edge to score a lot better at your Oracle Associate exam. In this post, we’ll try to cover all you need to know about Strings […]