Skip to content

Commit bc0f93a

Browse files
Update lessons/operators.md
indentation resolved Co-authored-by: Utkarsh Mishra <76392681+Utkarsh1504@users.noreply.github.com>
1 parent ecdb4cd commit bc0f93a

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

lessons/operators.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -205,13 +205,12 @@ This category contains the following operators:
205205
- `typecasting`: it converts the value of the operand to the type of the right operand.
206206
eg:
207207
```java
208-
public class Main
209-
{
210-
public static void main(String[] args) {
211-
char ch = 'a';
212-
int typecasted_character = (int)'a';
213-
System.out.println(ch);
214-
System.out.println(typecasted_character);
208+
public class Main {
209+
public static void main(String[] args) {
210+
char ch = 'a';
211+
int typecasted_character = (int) 'a';
212+
System.out.println(ch);
213+
System.out.println(typecasted_character);
215214
}
216215
}
217216
```

0 commit comments

Comments
 (0)