Test for Java Knowledge. Middle level

Akela
2019-03-19 20:33:05
174
Test for Java Knowledge. Middle level

The Java Object Oriented programming language is still in the lead among developers. This quiz tests Java knowledge necessary for Middle level. Are you ready? Let's go!

What is the super keyword used to refer to?

Immediate class instance

Parent class immediate instance

Inherited class

What is an anonymous class?

Class that cannot be inherited

Class without constructor

Inner class declared with no class name

How is bitwise logical negation denoted?

~

!

-

What keyword is not used for working with exceptions?

finally

switch

throws

Are exceptions generated from runtimeException checked?

Yes

No

Vector is the implementation of interface:

List

System

Map

What principle does stack work on?

LIFO

FIFO

CY

Why is it impossible to inherit from the string class?

It has no bidy

It's not a class

It's declared as final

What file opening modes are in Java?

rws, rwd

r, rw, rws, rwd

r, w, s, r+, s+, w+

In what package is the main function of work with streams packaged?

java.io

java.line

java.thread

What is the name of the process of saving an object state in a byte sequence?

Bytization

Deserialization

Serialization

How can you reverse a line?

string.reverse();

stringBuilder.reverse();

string.return();

What state can the stream not be in?

TERMINATED

RUNNABLE

PAUSED

What method does put a stream in waiting mode?

wait()

stop()

pause()

What annonation is used when overriding a method?

Override

@Redefine

@Override

You don't know Java at the level of Junior Java developer

Probably, you've started to learn the language recently and do not know much. Don't be upset! Devote enough time to theory and practice, and you'll definitely succeed! Share the quiz with friends and find out their level :)

Junior Java developer

You know Java well, but you have something to learn to achieve Middle level. Read theme-based articles and self-teaching textbooks, solve practical problems and you'll definitely succeed!  Share the quiz with friends and find out their level :)

Middle Java developer

Congrats! You answered all quiz questions right, but this is not a reason to rest on oars: Java language has many subjects and nuances, which are waiting for you. Constantly develop and you'll definitely become a great specialist! Share the quiz with friends and find out their level :)