CS506 Quiz-4 by Vu Topper RM
CS506 Quiz-4 by Vu Topper RM
And Development
Update MCQ’S Quiz-4 File
Rizwan Manzoor
@vutopperrm Vu Topper RM
d
cc
Which of the following methods is called only once during the life cycle
of an Applet?
A. paint()
B. destroy()
C. stop()
D. start( )
If you want the timer to fire only the first time and then stop, invoke
______________.
A. setOnce(true)
B. setOnce(false)
C. setRepeats(true)
D. setRepeats(false) Google
To serialize an object in Java, we typically use
_____________________ .
A. ClassInputStream
B. ObjectInputStream
C. ObjectOutputStream
D. ClassOutputStream