logo

Crowdly

Browser

Додати до Chrome

*Програмування на Jаvа

Шукаєте відповіді та рішення тестів для *Програмування на Jаvа? Перегляньте нашу велику колекцію перевірених відповідей для *Програмування на Jаvа в dl.nure.ua.

Отримайте миттєвий доступ до точних відповідей та детальних пояснень для питань вашого курсу. Наша платформа, створена спільнотою, допомагає студентам досягати успіху!

Which of the following are valid Java identifiers? (Choose all that apply)

100%
100%
0%
100%
0%
0%
Переглянути це питання

Given the following class, which of the following calls print out Blue Jay? (Choose all that apply)

public class BirdDisplay {

 public static void main(String[] name) {

 System.out.println(name[1]);

} }

0%
0%
100%
0%
0%
0%
0%
Переглянути це питання

What is the output of the following code?

1: public class ArithmeticSample {

2: public static void main(String[] args) {

3: int x = 5 * 4 % 3;

4: System.out.println(x);

5: }}

0%
0%
100%
0%
0%
Переглянути це питання

What is the output of the following code snippet?

3: int x = 0;

4: String s = null;

5: if(x == s) System.out.println("Success");

6: else System.out.println("Failure");

100%
0%
0%
0%
Переглянути це питання

What is the output of the following code snippet?

3: int x = 1, y = 15;

4: while x < 10

5: y––;

6: x++;

7: System.out.println(x+", "+y);

0%
0%
100%
0%
0%
0%
Переглянути це питання

What change would allow the following code snippet to compile? (Choose all that apply)

3: long x = 10;

4: int y = 2 * x;

0%
100%
100%
100%
100%
0%
Переглянути це питання

What is the output of the following code snippet?

4: int result = 4;

5: result += ++c;

6: System.out.println(result);

0%
0%
100%
0%
0%
0%
Переглянути це питання

What data type (or types) will allow the following code snippet to compile? (Choose all that apply)

byte x = 5;

byte y = 10;

_____ z = x + y;

0%
0%
100%
100%
0%
100%
Переглянути це питання

What is the output of the following code?

1: public class TernaryTester {

2: public static void main(String[] args) {

3: int x = 5;

4: System.out.println(x > 2 ? x < 4 ? 10 : 8 : 7);

5: }}

0%
0%
0%
0%
100%
0%
Переглянути це питання

What is the output of the following code snippet?

3: int x = 4;

4: long y = x * 4 - x++;

5: if(y<10) System.out.println("Too Low");

6: else System.out.println("Just right");

7: else System.out.println("Too High");

0%
0%
0%
100%
0%
0%
Переглянути це питання

Хочете миттєвий доступ до всіх перевірених відповідей на dl.nure.ua?

Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!

Browser

Додати до Chrome