-
-
Save parzibyte/5f070c94d8f1f021f70e806d71ea6740 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Main { | |
public static void main(String[] args) { | |
char arroba = (char) 64; | |
System.out.println(arroba); | |
String arrobaComoCadena = Character.toString(arroba); | |
System.out.println(arrobaComoCadena); | |
String letraA = Character.toString((char) 97); | |
System.out.println(letraA); | |
// Salida: | |
// @ | |
// @ | |
// a | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment