logo

Crowdly

Browser

Додати до Chrome

Object Oriented Development (MESIIN472925)

Шукаєте відповіді та рішення тестів для Object Oriented Development (MESIIN472925)? Перегляньте нашу велику колекцію перевірених відповідей для Object Oriented Development (MESIIN472925) в learning.devinci.fr.

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

Which of the following is the correct way to declare a constant in Java?

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

Consider the code :

public class Test {

    public static void main(String[] args) {

        int[] a = {1, 2, 3};

        int[] b = a;

        b[0] = 99;

        System.out.println(a[0]);

    }

}

what will be printed?

0%
6%
94%
0%
Переглянути це питання
In a Java web application, which component actually executes the Java code on the web server?
100%
0%
0%
0%
Переглянути це питання

Given the following code :

class PolymorphismExample {

    void display(int a) {

        System.out.println("Method with int parameter: " + a);

    }

    void display(String a) {

        System.out.println("Method with String parameter: " + a);

    }

    public static void main(String[] args) {

        PolymorphismExample obj = new PolymorphismExample();

        obj.display("10 is an integer");

    }

}

What is the output of the following code?

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

To call the constructor Person( String firstName, String lastName) of a class "Person" from another constructor Person(String firstName) of the same class, we use the instruction this.Person(firstName, "Not defined")

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

The Open/Closed Principle states that a class should be:

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

The Dependency Inversion Principle recommends that:

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

Which example follows the Interface Segregation Principle?

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

What does the “S” in SOLID stand for?

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

What will be printed?

public class Test {

    public static void main(String[] args) {

        String s1 = "Java";

        String s2 = new String("Java");

        System.out.println(s1 == s2);

        System.out.println(s1.equals(s2));

    }

}

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

Хочете миттєвий доступ до всіх перевірених відповідей на learning.devinci.fr?

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

Browser

Додати до Chrome