Tag: programming languages

Questions Related to programming languages

  1. SOAP

  2. International standards

  3. XML

  4. UML


Correct Option: A,B,C
  1. The Adapter pattern implements an interface known to its clients and provides an instance of a class not known to its clients.

  2. The Bridge pattern implements an interface known to its clients and provides an instance of a class not known to its clients.

  3. The Adapter pattern creates a separation between abstractions and classes that implement those abstractions.

  4. The Bridge pattern creates a separation between abstractions and classes that implement those abstractions.


Correct Option: A,D

As part of your new application you need to create a custom class loader so that you can implement with custom security. So you need to create objects without knowing the class of the objects or how to create them. What pattern should you use for this?

  1. Abstract factory

  2. Builder

  3. Prototype

  4. Singleton


Correct Option: C
  1. You need two unconnected objects to be able to send messages to each other.

  2. You need two connected objects to be able to send messages to each other.

  3. You need to create a new operation on an object and you will change the classes of elements on which it operates.

  4. You need to create a new operation on an object without changing the classes of elements on which it operates.


Correct Option: D