Source code OOP for Java
Example for OOP in java
class pertama ::
public class Biodata {
public void Biodata (){
System.out.println(" Nama : Ipah debug");
System.out.println(" Alamat: Keude aceh");
System.out.println(" Usia : 16 ");
}
}
ini class ke dua nya ::
public class displayBiodata {
public static void main (String[]args){
Biodata hello=new Biodata ();
hello.Biodata ();
}}
0 Response to "Source code OOP for Java"
Posting Komentar