Թեստ №6՝ JAVA

0
324

Թեստ №6՝ JAVA

Tests - Development - front-End - Html & Html5 - Test 1
0%
0

Ծրագրավորում

Test №6

Theme ... JAVA

Language ... English

Level ... Beginner

Խնդրում ենք լրացնել իրական տվյալներ

1 / 20

What is a correct syntax to output "Hello World" in Java?

2 / 20

Java is short for "JavaScript"

3 / 20

Which data type is used to create a variable that should store text?

4 / 20

How do you create a variable with the numeric value 5?

5 / 20

How do you create a variable with the floating number 2.8?

6 / 20

Which method can be used to find the length of a string?

7 / 20

Which operator is used to add together two values?

8 / 20

The value of a string variable can be surrounded by single quotes.

9 / 20

Which method can be used to return a string in upper case letters?

10 / 20

Which operator can be used to compare two values?

11 / 20

To declare an array in Java, define the variable type with:

12 / 20

Array indexes start with:

13 / 20

How do you create a method in Java?

14 / 20

Which keyword is used to create a class in Java?

15 / 20

What is the correct way to create an object called myObj of MyClass?

16 / 20

In Java, it is possible to inherit attributes and methods from one class to another.

17 / 20

Which method can be used to find the highest value of x and y?

18 / 20

Which operator is used to multiply numbers?

19 / 20

Which keyword is used to import a package from the Java API library?

20 / 20

How do you start writing an if statement in Java?

Your score is

The average score is 0%

0%

Նմանատիպ Թեստեր