Skip to content

Commit 935ee03

Browse files
committed
Fixed formatting issue
1 parent db66b99 commit 935ee03

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,7 @@ Frequently asked Java Interview questions
822822
**Example:**
823823

824824
```java
825-
public class FinalExample {
825+
public class FinalExample {
826826
final int VALUE = 100;
827827

828828
public final void display() {
@@ -841,8 +841,11 @@ Frequently asked Java Interview questions
841841
protected void finalize() throws Throwable {
842842
System.out.println("Finalize method called");
843843
}
844-
} ```
845-
844+
}
845+
```
846+
847+
**[⬆ Back to Top](#table-of-contents)**
848+
846849
21. ### What is the difference between '==' and equals() method?
847850

848851
Both **==** and **.equals()** methods are used to compare objects, but they work in different ways:

0 commit comments

Comments
 (0)