logo

Crowdly

Browser

Додати до Chrome

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

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

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

Given the following class, which of the following is true? (Choose all that apply)

1: public class Snake {

2:

3: public void shed(boolean time) {

4:

5: if (time) {

6:

7: }

8: System.out.println(result);

9:

10: }

11: }

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

Given the following code, which of the answer choices can fill in the blank to print true? (Choose all that apply.)

String m1 = Duration.of(1, ChronoUnit.MINUTES).toString();

String m2 = Duration.ofMinutes(1).toString();

String s = Duration.of(60, ChronoUnit.SECONDS).toString();

String d = Duration.ofDays(1).toString();

String p = Period.ofDays(1).toString();

System.out.println(_____________);

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

Which of the following lines of code compile? (Choose all that apply)

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

The following method is designed to delete a directory tree recursively. Which of the following properties reflect the method definition? (Choose all that apply.)

1: public static void deleteTree(File file) {

2: if(!file.isFile())

3: for(File entry: file.listFiles())

4: deleteTree(entry);

5: else file.delete();

6: }

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

What is the result of the following code snippet?

3: int m = 9, n = 1, x = 0;

4: while(m > n) {

5: m--;

6: n += 2;

7: x += m + n;

8: }

9: System.out.println(x);

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

Which of these compile when replacing line 8? (Choose all that apply)

7: char[]c = new char[2];

8: // INSERT CODE HERE

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

Which represent the order in which the following statements can be assembled into a program that will compile successfully? (Choose all that apply)

A: class Rabbit {}

B: import java.util.*;

C: package animals;

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

Which of the following are true? (Choose all that apply)

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

Given the following class, which of the following lines of code can replace INSERT CODE HERE to make the code compile? (Choose all that apply)

public class Price {

 public void admission() {

 INSERT CODE HERE

 System.out.println(amount);

 } }

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

Which of the following are true statements? (Choose all that apply)

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

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

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

Browser

Додати до Chrome