Answered You can buy a ready-made answer or pick a professional tutor to order an original one.
SAINT COM209/ SAINT COM209 MODULE 6 QUIZ 3 (NEW VERSION 2016)
Question
Question 1. Question :
The Java compiler does not require that you catch or specify __________ exceptions.
checked
runtime
return
optional
Question 2. Question :
In order to use a variable both with a try or catch block and afterward, you must declare the variable before the __________ block begins.
catch
try
main
finally
Question 3. Question :
Many developers believe that it is poor style for a method to throw more than __________ type(s) of exceptions.
one
two
three or four
eight or ten
Question 4. Question :
Because the backslash character starts the escape sequence in Java, you must use two __________ in a string that describes a Path in the DOS operating system.
dashes
quotes
backslashes
periods
Question 5. Question :
You can use the __________ modifier with methods when you don’t want the method to be overridden.
override
access
final
end
Question 6. Question :
A(n) __________ is a holding place for bytes that are waiting to be read or written.
ByteChannel
FileChannel
InputStream
ByteBuffer
Question 7. Question :
Placing a file in the __________ directory of your storage device is equivalent to tossing a loose document into a drawer.
root
path
back
loose
Question 8. Question :
The String class __________ method accepts an argument that identifies the field delimiter and returns an array of Strings.
tokens()
divide()
tokenize()
split()
Question 9. Question :
If a programming language does not support __________, the language is not considered object-oriented.
syntax
applets
loops
polymorphism
Question 10. Question :
A(n) __________ is not an object, but it points to a memory address.
abstract class
reference
extend
interface
Question 11. Question :
The methods in a subclass can use all of the data fields and methods that belong to its parent, with one exception: __________ members of the parent class are not accessible within a child class’s methods.
private
public
final
protected
Question 12. Question :
Which of the following is NOT a component of a try block?
A closing curly brace
The keyword try
Executable statements
A throw statement
Question 13. Question :
__________ compress the data they store, which reduces the size of archived class files.
Dynamic method bindings
JAR files
Type-import-on-demand declarations
Interfaces
Question 14. Question :
In the case where a method might throw more than one exception type, you specify a list of potential exceptions in the method header by separating them with __________.
spaces
semicolons
commas
periods
Question 15. Question :
When you create a class by making it inherit from another class, you are provided with data fields and __________ automatically.
fonts
methods
class names
arrays
Question 16. Question :
The BufferedWriter class contains a __________ method that uses the current platform’s line separator.
lineSeparator()
systemSeparator()
newLine()
newSeparator()
Question 17. Question :
When a class both extends and implements, by convention the __________ clause is last in the class header.
extends
new
implements
if
Question 18. Question :
Using the keyword __________provides you with an intermediate level of security between public and private access.
protected
this
super
secure
Question 19. Question :
The true benefit of using a(n) __________ file is the ability to retrieve a specific record from a file directly, without reading through other records to locate the desired one.
random access
text
open
input
Question 20. Question :
Assertions are meant to be helpful in the __________ stage of a program.
development
testing
production
modeling
- @
- 177 orders completed
- ANSWER
-
Tutor has posted answer for $16.00. See answer's preview
*********
********
* ******** : The
Java
compiler **** not ******* that you catch ** ******* __________ *********** ******** ********
*******
optional
********
*
********
**
In
*****
to
use * ******** ****
****
a *** or ***** ***** and afterward you **** ******* *** variable ****** the ********** ***** begins ****** try ***** ******** ******** 3 ******** :
Many
**********
*******
****
it
**
****
*****
for
* ****** ** *****
****
than ********** ******* ** *********** **** **** ***** or ***** ***** ** **** Question * Question : ******* ***
*********
*********
******
***
******
sequence ** ****
you
**** *** ***
**********
** * ****** ****
*********
* **** ** the DOS operating ******* ******* quotes backslashes ******** ******** * Question ** *** *** use *** ********** ******** **** ******* **** *** don’t want
***
method
**
**
overridden
*********
*******
******
****
Question * ******** :
****
********** ** * holding place *** ***** **** *** waiting to ** **** ** ******** ************ ************
************
***********
Question
*
********
**
*******
*
file
** *** __________ *********
of
**** ******* ****** ** ********** ** ******* a ***** document **** a ******* ***** path *****
loose
********
*
********
**
***
String
class
**********
method ******* an ********
that
********** *** field delimiter *** ******* ** array of ******** ********* ********* *********** ******** ******** * ******** ** ** * ***********
********
****
***
*******
**********
***
********
**
***
********** object-oriented ******* ********
******
************* ******** ** ******** ** **** ********** is not ** ****** but it points to * ****** ******** ********
class
**********
*******
interface
********
**
Question
:
***
******* ** * ********
can
*** all of *** **** ****** *** ******* that belong to *** ****** ****
***
**********
**********
*******
of
***
******
class
***
*** ********** ****** *
*****
************* ******** ******** public ****** ********** Question ** ******** ** Which ** ***
following
** NOT
*
*********
**
a
***
*******
A
closing ***** ****** ***
keyword
try ********** *********** * ***** ********** ******** ** Question ** ********** ******** *** **** they ***** ***** ******* *** **** ** ******** ***** files ******* method bindings JAR ****** ********************* ************* Interfaces Question 14 ******** **
In
***
****
where
*
******
might
*****
****
**** one ********* ****
***
specify * list ** ********* ********** ** the method header ** **********
****
**** __________ spaces ***********
*******
******** ******** 15
********
: ****
***
****** * class
**
****** ** inherit ****
another
class *** are ******** **** **** fields and __________ automatically fonts ******** ***** ******
*******
Question 16 ********
**
The **************
class
******** a
**********
******
****
**** *** ******* ****************
****
********** lineSeparator() systemSeparator() newLine() *************** ******** ** ******** ** When * ***** **** extends *** implements by ********** *** ********** ****** ** **** in the class ******* ******** ****
***********
***
********
18
********
**
Using
***
*******
****************** *** **** **
************
***** ** security between public *** private ******* protected ***** ****** ******* ******** ** ******** : *** **** benefit ** *****
****
**********
****
is
the
******* **
********
*
********
****** from * ****
directly
without ******* ******* ***** records ** locate *** ******* **** ****** ******* text open
input
********
20
********
**
**********
***
meant
**
** ******* in the
__________
***** of * program ************ ******** *********** ********