Test for Java Knowledge. Beginner's Level

Akela
2019-03-19 20:33:05
211
Test for Java Knowledge. Beginner's Level

Java is an Object Oriented programming language, which is often used for server apps in major corporations, as well as for web apps, in-built systems, and many other spheres. The quiz includes questions on topics, which Junior Java Developers should know, but the quiz will be useful not only for beginners but also for professionals for repetition. Are you ready?

How many keywords are reserved by the language?

None

25

50

Which reserved words aren't used?

goto

goto, const

Every word is used

What data type is not primitive?

boolean

string

float

What are the main principles of Java OOP?

Abstraction, inheritance, polymorphism and encapsulation

Inheritance, polymorphism and encapsulation

Only inheritance

Are there constructors in Java?

Yes

No

What class modifier doesn't exist?

foreign

strictfp

synchronized

How do you declare a variable?

$i=0;

java.int i=0;

int i=0;

What operator doesn't exist in Java?

==

!=

What function does the % operator fulfil?

Per cent of number

Residue of division

There's no such an operator in Java

Are nested loops allowable in Java?

Yes

No

What's the name of teh cycle for (declaration: expression)?

special for

improved for

shortcut for

What class does allow console keyboard input?

Scanner

Writer

Reader

What method of Scanner scans an input line before the first spacing?

nextLine()

next()

readLine()

What's the value of variable double d = 2.0 - 1.1;?

1

0.9

0.8999999999999999

What's the value of variable byte b = 7;?

0000 0111

7.000

0111

You don't know Java at the level of a Junior Java Developer

Probably, you've recently started to learn this language and haven't manageed to master all subjects important for a Junior. Devote enough time to both theory and practice, you'll definitely master this language! Share the quiz with friends, check their knowledge :)

You're not bad at the basics of Java, but ot enough for Junior Java Developer

You've already learned the basics of Java, but sometimes you make mistakes in main issues. Repeat topics that caused difficulties and try to take the quiz again. You'll pull it off for sure! Share the quiz with friends, check their knowledge :)

Junior Java Developer

Congrats! You mastered the basics of Java in perfection. This is not a reason to rest on oars! Shif to more complex subjects, continue to develop and reach new heights on the way to becoming a developer! Share the quiz with friends, check their knowledge :)