Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
- package pkg30jahreintibet;
- import javax.swing.JOptionPane;
- /**
- *
- * @author G404
- */
- class AKW {
- String Name;
- Adresse1 aa, ab;
- Reaktor a;
- public int damitAllesInsLaufenKommt() {
- int intaußentemp;
- String Außentemp = JOptionPane.showInputDialog("nuu - wie warms ists draußen??");
- intaußentemp = Integer.parseInt(Außentemp);
- return intaußentemp;
- }
- public void guckenObÜber30() {
- if (damitAllesInsLaufenKommt() > 30) {
- Reaktor.an = true;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement