Using Java, write a program that uses a method to display arandom text-based emoji out of 5 choices (you decide which 5 emojismake up that choice).
Sample output 1: @w@
Sample output 2: T_T
Solution
public class DisplayRandomEmoji { public static void showEmoji() { double num = Math.random(); if (num <= 0.2) { System.out.println(“@w@”); } else if (num <= 0.4) {
OR
OR