Questions from Starting Out With Java


Q: What type of events do Timer objects generate?

What type of events do Timer objects generate?

See Answer

Q: How are the time intervals between a Timer object’s action

How are the time intervals between a Timer object’s action events measured?

See Answer

Q: How do you cause a Timer object to begin generating action events

How do you cause a Timer object to begin generating action events?

See Answer

Q: How to you cause a Timer object to cease generating action events

How to you cause a Timer object to cease generating action events?

See Answer

Q: What Applet method can you use to play a sound file?

What Applet method can you use to play a sound file?

See Answer

Q: What is the difference between using the Applet method asked for in

What is the difference between using the Applet method asked for in Checkpoint19.35 , and using an AudioClip object to play a sound file?

See Answer

Q: What methods does an AudioClip object have? What do they do

What methods does an AudioClip object have? What do they do?

See Answer

Q: What is the difference between the Applet class’s getDocumentBase and

What is the difference between the Applet class’s getDocumentBase and getCodeBase methods?

See Answer

Q: What tag marks the beginning and end of an HTML document’

What tag marks the beginning and end of an HTML document’s head section?

See Answer

Q: Assume that the reference variable r refers to a serializable object.

Assume that the reference variable r refers to a serializable object. Write code that serializes the object to the file ObjectData.dat.

See Answer