en
Budi Kurniawan

OCA Java SE 8 Programmer Study Guide (Exam 1Z0–808)

Giv mig besked når bogen er tilgængelig
Denne bog er ikke tilgængelig i streaming pt. men du kan uploade din egen epub- eller fb2-fil og læse den sammen med dine andre bøger på Bookmate. Hvordan overfører jeg en bog?
  • 08106har citeretfor 7 år siden
    The program examples accompanying this book can be downloaded from the publisher’s website:
    http://books.brainysoftware.com
    Extract the zip file to a working directory and you are good to go.
  • DARhar citeretfor 8 år siden
    An integer literal without a suffix L or l is regarded as an int. Therefore, the following will generate a compile error because 9876543210 is larger than the capacity for an int:
    long a = 9876543210;
    To rectify the problem, add an L or l at the end of the number like this:
    long a = 9876543210L;
  • DARhar citeretfor 8 år siden
    Literals
    From time to time you need to assign values to variables in your program, such as number 2 to an int or the character ‘c’ to a char. For this, you need to write the value representation in a format that the Java compiler understands. This source code representation of a value is called literal. There are three types of literals: literals of primitive types, string literals, and the null literal.
fb2epub
Træk og slip dine filer (ikke mere end 5 ad gangen)