en
Budi Kurniawan

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

Obavesti me kada knjiga bude dodata
Da biste čitali ovu knjigu otpremite EPUB ili FB2 datoteku na Bookmate. Kako da otpremim knjigu?
  • 08106je citiraoпре 7 година
    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.
  • DARje citiraoпре 8 година
    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;
  • DARje citiraoпре 8 година
    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
Prevucite i otpustite datoteke (ne više od 5 odjednom)