Queue
Kode Program : Class Appmain package PkgQueue; import java.util.*; public class Appmain { public static void main(String[] args) { cAntrian antrian = new cAntrian(); Scanner scanner = new Scanner(System.in); int pilih = 0; do { System.out.println("========== Program Queue =========="); System.out.println(" 1. Tambah Pesanan "); System.out.println(" 2. Tampilkan daftar antrian "); System.out.println(" 3. Proses antrian "); System.out.println(" 4. Keluar "); System.out.println("=================================="); System.out.print("Pilihan anda: "); pilih = scanner.nextInt(); System.out.println(""); switch (pilih) { case 1: Sys