Skip to content

Commit 6c11dfa

Browse files
authoredNov 10, 2024
wrapper class of char primitive type is Character in Java
1 parent 283d08c commit 6c11dfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ Frequently asked Java Interview questions
375375
| double | Double |
376376
| long | Long |
377377
| boolean | Boolean |
378-
| char | Char |
378+
| char | Character |
379379
380380
You can use `.valueOf` methods from wrapper classes to convert primitive to object type, and the same way wrapper class methods like `intValue`, `doubleValue` etc used to convert wrapper class to primitive type. But this manual process can be automated.
381381

0 commit comments

Comments
 (0)