tailieunhanh - Web Programming with Java - Java Basics
Identifiers: Names for the things you will refer to in your programs Used for programming entities as variables, constants, methods, classes, and packages Rules for naming identifiers: A sequence of characters that consists of letters, digits, underscores (_), and dollar signs ($). Cannot start with a digit. Cannot be a reserved word. Cannot be true, false, or null. An identifier can be of any length. .Variables & Constants Variables: used to store data in a program datatype variableName; datatype variable1, variable2, ., variablen; Constants Represents permanent data. | Web Programming with Java Huynh Huu Viet Email viethh@ Department of Information Systems 1 Primitive Data Types and Operations Control Structures Selection Statements Loop Statements Methods Arrays Q A 2 2008 Department of Information Systems - University of Information Technology Identifiers Names for the things you will refer to in your programs Used for programming entities as variables constants methods classes and packages Rules for naming identifiers A sequence of characters that consists of letters digits underscores _ and dollar signs . Cannot start with a digit. Cannot be a reserved word. Cannot be true false or null. An identifier can be of any length. 2008 Department of Information Systems - University of Information .
đang nạp các trang xem trước