From 194c1bdcb2396d2a7b1db3c2af157ed345d2fb15 Mon Sep 17 00:00:00 2001 From: Ekin Eryilmaz Date: Fri, 15 Mar 2019 09:01:48 +0100 Subject: [PATCH] Highlighted some words. (#27975) --- guide/english/java/equality/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/english/java/equality/index.md b/guide/english/java/equality/index.md index 817bfd10cc..c425d40a03 100644 --- a/guide/english/java/equality/index.md +++ b/guide/english/java/equality/index.md @@ -47,7 +47,7 @@ The `if` statement will cause an error. It is important to remember that a sing The built-in `Object` class in Java, which all other classes automatically extend, contains a number of helpful built-in methods. One such method is `equals()`, which takes another object as its argument and returns whether the two objects should be considered "equal" according to the relevant logic for that class. -The 'String' class is one of the most common examples of a class that overrides the 'equals()' method. When comparing two 'String's for equality, you need to use the 'equals()' method, as '==' won't work as you expect. +The 'String' class is one of the most common examples of a class that overrides the `equals()` method. When comparing two 'String's for equality, you need to use the `equals()` method, as `==` won't work as you expect. ```java String s1 = "Bob";