logo

Crowdly

Browser

Add to Chrome

Object Oriented Development (MESIIN472925)

Looking for Object Oriented Development (MESIIN472925) test answers and solutions? Browse our comprehensive collection of verified answers for Object Oriented Development (MESIIN472925) at learning.devinci.fr.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

What is method overloading?

0%
0%
0%
100%
View this question

Given : 

class A {

    A() {

        display();

    }

    void display() {

        System.out.println("A");

    }

}

class B extends A {

    int value = 10;

    void display() {

        System.out.println(value);

    }

}

What will be printed when this is executed?

public class Test {

    public static void main(String[] args) {

        A obj = new B();

    }

}

0%
19%
0%
81%
View this question

In a Java EE application, what is the main purpose of a cookie?

0%
0%
100%
0%
View this question

Polymorphism applies for both static or non-static methods of a class

3%
97%
View this question

What is the output of the following code:

import java.util.*;

class User {

    String name;

    User(String name) {

        this.name = name;

    }

    @Override

    public boolean equals(Object o) {

        if (this == o) return true;

        if (!(o instanceof User)) return false;

        User user = (User) o;

        return Objects.equals(name, user.name);

    }

}

public class Test {

    public static void main(String[] args) {

        Set<User> users = new HashSet<>();

        users.add(new User("Alice"));

        users.add(new User("Alice"));

        System.out.println(users.size());

    }

}

0%
0%
3%
97%
View this question
Which technology allows writing <td>${student.lastName}</td> in a JSP?
0%
6%
94%
0%
View this question

A class can be declared as public, private or package private.

13%
88%
View this question
Why do we call myConn.close() when using a JDBC connection pool?
100%
0%
0%
0%
View this question

Which of the following statements is true about checked exceptions?

0%
0%
0%
100%
View this question
Where should a JSP page be placed if you want to protect it from direct browser access?
0%
0%
0%
100%
View this question

Want instant access to all verified answers on learning.devinci.fr?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome