Q1. What is the difference between “==” and “equals(…)” in comparing Java String objects? (JNNC Technologies)
Q1. What is the difference between “==” and “equals(…)” in comparing Java String objects? A1. When you use “==” (i.e. shallow comparison),…