Skip to content

Commit 3a71f66

Browse files
committed
Update README
1 parent 37c6758 commit 3a71f66

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@
379379
* What is `String.intern()`? When and why should it be used?
380380
* What is the `hashCode()` and `equals()` used for?
381381
* What are these `final`, `finally` and `finalize` keywords?
382-
- Final is a keyword in the java language. It is used to apply restrictions on class, method and variable. Final class can't be inherited, final method can't be overridden and final variable value can't be changed.
382+
- `final` is a keyword in the java language. It is used to apply restrictions on class, method and variable. Final class can't be inherited, final method can't be overridden and final variable value can't be changed.
383383
```java
384384
class FinalExample {
385385
public static void main(String[] args) {
@@ -388,7 +388,7 @@
388388
}
389389
}
390390
```
391-
- Finally is a code block and is used to place important code, it will be executed whether exception is handled or not.
391+
- `finally` is a code block and is used to place important code, it will be executed whether exception is handled or not.
392392
```java
393393
class FinallyExample {
394394
public static void main(String[] args) {
@@ -403,7 +403,7 @@
403403
}
404404
}
405405
```
406-
- Finalize is a method used to perform clean up processing just before object is garbage collected.
406+
- `Finalize` is a method used to perform clean up processing just before object is garbage collected.
407407
```java
408408
class FinalizeExample {
409409
public void finalize() {

0 commit comments

Comments
 (0)