Charlie Masterson

    Peter Hougaard Kochhar citerati fjol

    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.
    Peter Hougaard Kochhar citerati fjol

    public static void main(String [ ] args) {

    int last_amount;

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

Dra och släpp dina filer (upp till fem åt gången)