References


Self-Test Questions

1. 

What is the purpose of the PATH environment variable in the Windows and UNIX operating system environments?

 - sets the location of executable files

2. 

What is the purpose of the CLASSPATH environment variable in the Windows and UNIX operating system environments?

 - sets the location of java class files (.class)

3. 

List and describe the steps of the Java program-creation process.

image from book

4. 

What are the primary components of an IDE? What benefits would the use of an IDE offer a programmer?

image from book

5. 

What is the purpose and use of the javac command?

 - used to compile java source files

6. 

What is the purpose and use of the java command?

 - used to run java application files

7. 

What is the purpose and use of the javadoc command?

 - used to create professional-looking, html-formatted api documentation

8. 

List and describe the steps required to create an executable .jar file.

image from book

9. 

(True/False) The javac command can compile more than one source file at a time.

image from book

10. 

How do you execute an executable .jar file?

 - java -jar jarfilename.jar

Answers

1. 

- Sets the location of executable files

2. 

- Sets the location of Java class files (.class)

3. 

- Programmer creates one or more source code file(s); Programmer uses javac command to create .class files; Programmer runs main application class file using java command.

4. 

- Text editor, project manager, debugger, and perhaps other third-party tools plug-ins. IDEs can speed software development.

5. 

- Used to compile Java source files

6. 

- Used to run Java application files

7. 

- Used to create professional-looking, HTML-formatted API documentation

8. 

- Create Java application; package with jar command and include a manifest file that names the main application class

9. 

- True

10. 

- java -jar jarfilename.jar




Java For Artists(c) The Art, Philosophy, and Science of Object-Oriented Programming
Java For Artists: The Art, Philosophy, And Science Of Object-Oriented Programming
ISBN: 1932504052
EAN: 2147483647
Year: 2007
Pages: 452

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net