Questions
The _______________ method of DynamicBillboard.java class is used to create and initialise the next billboard object that the applet will use.
- finishInit()
- parseBillData()
- start()
- stop()
- init()
The _____________ method of FontMetrics class is used to return the width of the widest character in java applet.
- getDescent()
- getMaxAdvance()
- getLeading()
- getMaxAscent()
- stringWidth()
The method used to modify the work ______ pixels array for the next cell in ColumnTransition. java class is
- destroy()
- setupFillPixels()
- Smash()
- Tear()
- nextCell()
The ________________ control in AWT class is an object of type label that contains a string which it displays.
- Push button
- Label
- CheckBox
- Choice list
- List
The ______________ part of AWT class uses five component: North, South, East, West and Center.
- Button
- Canvas
- BorderLayout
- CheckBox
- Choice
The ___________ character stream class in Java is an abstract class that describes character stream input in Java.
- StringReader
- Reader
- RandomAccessFile
- FileInputStream
- FileReader
To convert all the characters in a input string from lowercase to uppercase, ____________ method is used in Java.
- toUpperCase()
- setLength()
- toLowerCase()
- ensureCapacity()
- capacity()
The ______________ stream class in Java is supposed to be used to write a byte array into the memory.
- ByteArrayInputStream
- BufferedInputStream
- DataInputStream
- ByteArrayOutputStream
- FileInputStream
The ____________ method in Java is used to return a string that contains the decimal equivalent of the invoking object.
- byteValue()
- toString()
- hashCode()
- compareTo()
- valueOf()
The ___________ method of Runtime class is used to initiate calls to the finalize() method of unused but not yet recycled objects.
- totalMemory()
- load()
- runFinalization()
- gc()
- freeMemory()
The ____________ method of mouse movement applet class is used to unselect all the menu items in the applet.
- mouseExited()
- mouseDragged()
- mouseReleased()
- mouseMoved()
- DataInputStream
The ____________ method of font class is used to return the style values of the invoking font.
- getSize()
- getName()
- getStyle()
- getFamily()
- isBold()
The ____________ method of Process class is used to return an output stream that writes output to the 'in' input stream process.
- getErrorStream()
- getOutputStream()
- getInputStream()
- destroy()
- exitValue()
The _________ method of Map class is used to return 'true' value if the invoking map contains 'k' as a key, which is passed as argument with the method.
- containsKey()
- clear()
- runFinalization()
- gc()
- freeMemory()
The ___________ exception class is supposed to be used in Java if access to a class is denied.
- InterruptedException
- ClassNotFoundException
- IllegalAccessException
- InstantiationException
- SecurityException