Java Programming Guide - Quick Reference


Категория: Other

Поделиться:
Java naming conventions: Variable Names: Can start with a letter, ‘$’ (dollar symbol), or ‘_’ (underscore); cannot start with a number; cannot be a reserved word. Method Names: Verbs or verb phrases with first letter in lowercase, and the first letter of subsequent words capitalized; cannot be reserved words. Example: setColor() Class And Interface Names: Descriptive names that begin with a capital letter, by convention; cannot be a reserved word. Constant Names: They are in capitals. Example: Font.BOLD, Font.ITALIC
 Скачать


Комментарии

    Ничего не найдено.