Skip to content

9.3 Conversion to Integers: Added a mathematical operation for chars#216

Open
karimdevelops wants to merge 2 commits intoTogether-Java:developfrom
karimdevelops:patch-4
Open

9.3 Conversion to Integers: Added a mathematical operation for chars#216
karimdevelops wants to merge 2 commits intoTogether-Java:developfrom
karimdevelops:patch-4

Conversation

@karimdevelops
Copy link
Contributor

Users can understand the implicit conversion better by looking at:

  char letter = 'A';
  int result = letter + 3;

  IO.println(result); // outputs 68

@karimdevelops karimdevelops requested review from a team as code owners February 14, 2026 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants