Workshop
If your mind hasn’t taken a vacation by this point, test your knowledge of this hour with the following questions.
Quiz
How did object-oriented programming get its name?
- Programs are considered to be a group of objects working together.
- People often object because it’s hard to master.
- Its parents named it.
Which of the following isn’t a part of Java’s security?
- Web programs cannot run programs on the user’s computer.
- The identity of a program’s author is always verified.
- Java windows are labeled as Java windows.
What is a program’s capability to handle more than one task called?
- Schizophrenia
- Multiculturalism
- Multithreading
Answers
1. A. It’s also abbreviated as OOP.
2. B. Programmers can use digital signatures and an identity-verification company such as VeriSign in Java, but it isn’t required.
3. C. This also is called multitasking, but the term multithreading is used in conjunction with Java because a separately running part of a program is called a thread.
Activities
Before unpacking your luggage, you can explore the topics of this hour more fully with the following activities:
- Use the Java Boutique site at http://javaboutique.internet.com to find out what card games have been developed using the language.
- Visit Oracle’s website for Java users, www.java.com, and click the “Do I Have Java?” link. Follow the instructions to see whether Java’s present on your computer. Download and install the most up-to-date version, if prompted to do so.
Solutions for the activities in this book are presented on the book’s website at www.java24hours.com.