MP4/lab14

This commit is contained in:
2022-11-08 14:36:33 -06:00
parent a6c705e360
commit bb99b4210c
23 changed files with 4226 additions and 1 deletions

View File

@@ -11,6 +11,8 @@ package com.mycompany.mavenproject1;
public class Unicode {
public static void main(String[] args)
{
System.out.println("\u2764");
//System.out.println("\u2764");
char char_a = 'a', char_0 = '0', char_A = 'A';
System.out.println((int) char_0 + " = 0\n" + (int) char_a + " = a\n" + (int) char_A + " = A");
}
}