CIS 163 AA - Java Programming I - Section 5811
Worksheet #1
Due Monday, September 12, 2005
Name:
I. Definitions: please explain the following terms:
- software
- white space
- literal
- class
- method
- encapsulated
- primitive data type
- class library
- reserved word
- call a method
II. Question or short essay
- What is the difference between a high level language and a low level language?
- What are two ways to include comments in a program? Why include
comments?
- What are the syntax rules for creating identifier names for a
program's identifiers?
- What is the difference between Java applets and Java applications?
- What are widening conversions? Why should narrowing conversions be avoided?
III. Programming Exercises Write source code for the following:
Write an application that prints your initials in large block letters. Make each letter by printing out a sequence of the corresponding regular characters. Hand in a printed copy of your source code.