contoh class
public class transaksi {
public static void main(String[] args) {
akuntansi myob = new akuntansi();
myob.open ="file";
myob.create ="company";
myob.explore ="folder";
myob.whatnew ="what";
myob.exit ="close";
System.out.println(myob.open);
System.out.println(myob.create);
System.out.println(myob.explore);
System.out.println(myob.whatnew);
System.out.println(myob.exit);
}
}
class akuntansi {
String open;
String create;
String explore;
String whatnew;
String exit;
final String perusahaan = "perusahaan";
}
public class transaksi {
public static void main(String[] args) {
akuntansi myob = new akuntansi();
myob.open ="file";
myob.create ="company";
myob.explore ="folder";
myob.whatnew ="what";
myob.exit ="close";
System.out.println(myob.open);
System.out.println(myob.create);
System.out.println(myob.explore);
System.out.println(myob.whatnew);
System.out.println(myob.exit);
}
}
![]() |
| contoh class java transaksi |
class akuntansi {
String open;
String create;
String explore;
String whatnew;
String exit;
final String perusahaan = "perusahaan";
}
demikian contoh contoh class java transaksi















