en
Bøger
Charlie Masterson

Java

  • Peter Hougaard Kochhar citeretfor 3 år siden
    Code

    public static void main(String [ ] args) {

    int last_amount;

    System.out.println (“My Last Project”);

    }
  • Peter Hougaard Kochhar citeretfor 3 år siden
    Amounts

    When an amount needs to be stored in Java, there are going to be several options that you can use. There are whole amounts like 8 or 12 that can be stored as int variables. Int is going to stand for integer.

    Then there are floating point amounts such as 8.4 or 10.5 that are stored as double variables.
fb2epub
Træk og slip dine filer (ikke mere end 5 ad gangen)