click below
click below
Normal Size Small Size show me how
DataTypes Programs
Questions based on DataType Program done in class
| Question | Answer |
|---|---|
| Definition of Main Method | A program begins by calling the main method and begins execution withe first line of code |
| Definition of Program Block | the code enclosed between |
| Definition of Naming Rules | Alphanumeric (letters and numbers), no spaces, no special characters except _ $, MUST begin with a letter |
| Definition of Naming Conventions | |
| The int data allows what? | storage of integers( numbers fractions component) |
| What characters should be avoided? | 6 |
| Declaring a string size depends on what? | 7 |
| Common names for temporary variables are… | 8 |
| What is the basic syntax for assignment? | 9 |
| What is a program block? | |
| What is a String? | Class provided by Java that provides the ability to program with words |
| What is a Syntax? | Grammer structure or order of the elements in a language Statement |
| What is String Literal? | Characters enclose in " " |
| What is Hard Coding? | to use explicit rather than an symbolic |
| What is Data Types? | Most Basic data types provided by a language |
| What should one character variables be used? | |
| What does a boolean data type require? | Requires single quotes |
| What is Camelback Notation? | The First letter us lowercase and for each subsequent word the first letter is camelback |
| What is Declaration? | |
| What is primitive Data Types? |