Java tutorial
//package com.java2s; //License from project: Open Source License public class Main { private static final int SAD = 0x1F615; public static String getSad() { return getEmojiByUnicode(SAD); } public static String getEmojiByUnicode(int unicode) { return new String(Character.toChars(unicode)); } }