This low level abstract class is used for writing a stream of \"char\"s OutputSt
ID: 3858022 • Letter: T
Question
This low level abstract class is used for writing a stream of "char"s
OutputStream
Output
Writer
WriteStream
this is a Java language keyword that allows you to launch or initiate an exception
makeException
throw
throws
catch
This kind of class cannot be constructed. However, classes derived from this class can be constructed if they override the appropriate methods.
Serializable
Implementable class
Abstract class
Object
This is a class which implements the LayoutManager interface and has a philosophy of placing components left to right. When it runs out of room, it starts a new "row" of components.
FlowLayout
InputStream
StreamLayout
RowLayout
You can read binary class instances from this Input buffering class.
InputStream
FileInputStream
ObjectInputStream
DataInputStream
this.addMouseListener();
addMouseListener(this.JFrame);
MyMouseHandler mmh = new MyMouseHandler();
mmh.addMouseListener();
addMouseListener( new MyMouseHandler());
Calling this method on a thread will allow the thread to begin executing.
execute
runThread
begin
start
All Exceptions derived from this class are considered "Unchecked" and the compiler will not force you to write an special code to deal with this Exception.
RuntimeException
Exception
ArithmeticException
Throwable
This interface contains no methods. However, implementing this interface in a class makes it possible to write the class to an ObjectOutputStream.
Serializable
Writeable
Comparable
Streamable
A compile error at line 11 will occur because doit needs to surround the throw statement with try-catch logic, or change it's declaration to:
void doit throws MyError1
The program aborts with an exception
The program will run and generate the output "Exception"
The program will run and generate the output "RuntimeException"
The program will run and generate the output "MyError1"
If you add the following statement to your code:
addMouseListener( xclass );
What must be true about xclass
xclass will extend the class MouseListener
xclass will contain all of the methods defined in the MouseListener interface.
xclass will be an inner class.
xclass will contain a MouseListener class inside of it.
This class can be constructed to create a Writer class that is associated with a file open for writing
OutputStream
FileWriter
FileOutputStream
File
this method in the Thread class is used when a thread wants to suspend itself for a specified period of time.
wait
start
run
sleep
OutputStream
Output
Writer
WriteStream
Explanation / Answer
46) (C) Writer Class
Abstract class for writing to character streams.
47) (B) throw
48) (D) Object class
49) (A) FlowLayout
50) (C) ObjectInputStream
51) (C) File
53) (D) start
54) (B) JComponent
55) (A) RuntimeException
56) (A) Serializable
58) (B)xclass will contain all of the methods defined in the MouseListener interface.
59) (B) FileWriter
60) (D) sleep
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.