Created
April 21, 2015 02:03
-
-
Save eriwiana/51c19d77faa01b905650 to your computer and use it in GitHub Desktop.
KonversiReal
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package konversi; | |
public class KonversiReal { | |
private int ValueReal; | |
private double KonversiNilai; | |
private String KonversiInput; | |
public KonversiReal(){} | |
public KonversiReal(String KonversiInput){ | |
} | |
public String getKonversiInput(String getKonversiInput){ | |
KonversiInput = getKonversiInput; | |
System.out.println(KonversiInput); | |
return KonversiInput; | |
} | |
public double setValueReal (double getvalD){ | |
KonversiNilai = getvalD; | |
return KonversiNilai; | |
} | |
public void getValueReal (){ | |
ValueReal = 11457; | |
KonversiNilai = ValueReal * KonversiNilai; | |
System.out.println(KonversiNilai); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment