en
Böcker
Charlie Masterson

Java

  • Peter Hougaard Kochhar citeratför 3 år sedan
    Code

    public static void main(String [ ] args) {

    int last_amount;

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

    }
  • Peter Hougaard Kochhar citeratför 3 år sedan
    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
Dra och släpp dina filer (upp till fem åt gången)