en
Budi Kurniawan

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

Сообщить о появлении
Загрузите файл EPUB или FB2 на Букмейт — и начинайте читать книгу бесплатно. Как загрузить книгу?
  • 08106цитирует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.
  • DARцитирует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;
  • DARцитирует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
Перетащите файлы сюда, не более 5 за один раз