There are two ways to check equality in Java either by using equals() method or by using ... int, char etc, while use equals() to compare objects in Java.
確定! 回上一頁