Tag: web technology

Questions Related to web technology

  1. A HTTP Protocol

  2. A protocol that uses XML messages to perform RPC

  3. An XML-based protocol for exchanging information betweenServices

  4. An XML-based protocol for exchanging information between computers


Correct Option: D

What is WSDL?

  1. WSDL is used to call a service

  2. WSDl is similar to SOAP

  3. Both 1 &2

  4. an XML grammar


Correct Option: D

What is UDDI?

  1. Its a discovery layer within the Web services protocol stack

  2. RPC call

  3. Same as WSDL

  4. Both 2 & 3


Correct Option: A

The Layout managers can be turned off.

  1. True

  2. False


Correct Option: B

What is the default layout manager for a frame?

  1. Border Layout

  2. Flow Layout

  3. Box Layout

  4. None of these


Correct Option: A

AI Explanation

To answer this question, you need to understand the concept of layout managers in Java Swing.

The default layout manager for a frame in Java Swing is the BorderLayout.

Let's go through each option to understand why it is correct or incorrect:

Option A) Border Layout - This option is correct because the BorderLayout is the default layout manager for a frame in Java Swing. It divides the container into five regions: North, South, East, West, and Center.

Option B) Flow Layout - This option is incorrect because FlowLayout is not the default layout manager for a frame. FlowLayout arranges the components in a left-to-right flow, wrapping to the next line if necessary.

Option C) Box Layout - This option is incorrect because BoxLayout is not the default layout manager for a frame. BoxLayout arranges components in either a horizontal or vertical box.

Option D) None of these - This option is incorrect because the correct answer is A) Border Layout.

The correct answer is A) Border Layout. This option is correct because the BorderLayout is the default layout manager for a frame in Java Swing.

In a java GUI which one controls the size and the location of the components?

  1. Frame

  2. Panel

  3. Layout Manager

  4. Applet


Correct Option: C
  1. javax.swing.*

  2. java.util.*

  3. java.io.*

  4. java.awt.*


Correct Option: D