1. Buatlah program integer dg hasil yang akan ditampilkan
dilayar hasil=6??
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package programinteger;
/**
*
* @author DhoNa
*/
public class ProgramInteger {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
int a=3;
a+= 3;
System.out.println("hasil " +a);
}
}
0 komentar:
Posting Komentar