Create Quiz

Java Nio Java technologies Quiz

Java Nio Java technologies Quiz

java.nio (NIO stands for Non-blocking I/O) is a collection of Java programming language APIs that offer features for intensive I/O operations. It was introduced with the J2SE 1.4 release of Java by Sun Microsystems to complement an existing standard I/O. NIO was developed under the Java Community Process as JSR 51.

You can mute/unmute sounds from here

You May Get Result Of Java Nio Java technologies Quiz

The Result is here. Your score is less than 25% of right answer.
The Result is here. Your score is between 25-50% of right answer.
The Result is here. Your score is between 51-75% of right answer.
The Result is here. Your score is more than 75% of right answer.
POST YOUR ANSWER (READ ANSWERS)

Quiz Questions And Answers

What of the following is the default value of an instance variable?

null
0
Depends upon the type of variable

What is the size of int variable?

8 bit
16 bit
64 bit
32 bit

What is the default value of String variable?

Null
"
""

Which of the following is false about String?

String is immutable.
String is a primary data type.
String can be created using new operator.

What is class variable?

class variables are static variables within a class but outside any method.
class variables are variables defined inside methods, constructors or blocks.
class variables are variables within a class but outside any method.

Can be constructor be made final?

True
False

What is function overriding?

If a subclass uses a method that is already provided by its parent class, it is known as Method Overriding.
Both of the above.
If a subclass provides a specific implementation of a method that is already provided by its parent class.
None of the above

What are Wrapper classes?

These are classes that allow primitive types to be accessed as objects.
These are classes that wraps functionality of an existing class.
Both of the above.
None of the above.

Is it necessary that each try block must be followed by a catch block?

True
False

which operator is considered to be with highest precedence?

() , []
=
?:

Which Set class should be most popular in a multi-threading environment, considering performance constraint?

HashSet
CopyOnWriteArraySet
LinkedHashSet
ConcurrentSkipListSet

Which Map class should be most popular in a multi-threading environment, considering performance constraint?

ConcurrentMap
ConcurrentHashMap
CopyOnWriteMap
Hashtable

Which allows the removal of elements from a collection?

Enumeration
Iterator
Both
None

Which permits the removal of elements from a collection?

Enumeration
Iterator
None of the above

The Comparator interface contains the method?

compareWith
compareTo()
compare()
ANSWERS

Currently, we have no comments. Be first to comment on this quiz.

Java Nio Java technologies Quiz : Test Trivia

Ultimate impossible accurate personality honest Quiz Game

How do you rate this quiz?

Average rating 4.8 / 5. Vote: 5
Embed This Quiz
Copy the code below to embed this quiz