Non Primitif

Home   »   Non Primitif

public class primitive
{
    public static void main (String[] args) {
       String nama = "Mahasiswa";
       //tipe data Non primitif
       
       System.out.println(nama.concat("mahasiswa"));
       //tampilkan output
    }
}

Leave a Reply

Your email address will not be published. Required fields are marked *