MP4/lab14
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
Binary file not shown.
Reference in New Issue
Block a user