logo

Crowdly

Browser

Додати до Chrome

Questions Bank (1525423 total)

Which JavaFX class is used to display text and images?
✅
❌
❌
❌
Переглянути це питання
Which term is used to represent the characteristics or properties of an object in OOP?
❌
❌
✅
❌
Переглянути це питання
In Java, can a subclass access private member of its superclass?
✅
❌
❌
❌
Переглянути це питання

Which of the following is the correct way to declare and initialize an array in Java?

a. int[ ] numbers = new int[5] {1, 2, 3, 4, 5};  

b. int[ ] numbers = {1, 2, 3, 4, 5};

c.  int numbers[ ] = new int[ ]{1, 2, 3, 4, 5};

d.  int numbers = [1, 2, 3, 4, 5];

❌
❌
❌
✅
Переглянути це питання
Which of the following statements is true about static methods?
❌
❌
✅
❌
Переглянути це питання
What is the purpose of the "implements" keyword in Java?
❌
✅
❌
❌
Переглянути це питання
Which of the following data types in Java is NOT used to store integer values?
❌
❌
✅
❌
Переглянути це питання
Which method of the Iterator interface is used to check if there are more elements to iterate over?
✅
❌
❌
❌
Переглянути це питання
How can you create a JavaFX application that extends the Application class?
❌
✅
❌
❌
Переглянути це питання

What is the output of the following code snippet?

for (int i = 1; i <= 3; i++) {

    for (int j = 1; j <= 3; j++) {

        if (i == j)

            continue;

        System.out.print(i + j + " ");

    }

}

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