0

programming languages Online Quiz - 189

Description: programming languages Online Quiz - 189
Number of Questions: 20
Created by:
Tags: programming languages
Attempted 0/20 Correct 0 Score 0

When deadlock occurs?

  1. Two process waits

  2. Two method waits

  3. two thread waits

  4. None of the above


Correct Option: C

----are the interface between a component and the low-level platform specific functionality that supports the component.

  1. Server

  2. Client

  3. Container

  4. Both b & c


Correct Option: C

what are the models available for event handling?

  1. event-inheritance model

  2. event-delegation model

  3. Both a & b

  4. Event-polymorhism model


Correct Option: C

what are different types of layout managers available in java AWT?-

  1. FlowLayout

  2. BorderLayout

  3. CardLayout

  4. All the above


Correct Option: D

A method in a class having the same method name with same arguments is said to be

  1. Method overriding

  2. Method overloading

  3. Method overwriting

  4. None of the above


Correct Option: A

What is the use of this()?

  1. constructor

  2. Destructor

  3. Class

  4. method


Correct Option: A

Which containers use a Border layout as their default layout?-

  1. Window

  2. Frame

  3. Dialog

  4. All the above


Correct Option: D

What are types of J2EE clients?

  1. Applets

  2. Application Clients

  3. Wireless Clients

  4. All the above


Correct Option: D

What are the contents of web module?

  1. JSP files

  2. Java classes &gif and html file

  3. web component deployment descriptors

  4. All the above


Correct Option: D

What are the different scope valiues for the ?

  1. request

  2. page

  3. session

  4. All the above


Correct Option: D

What is MVC architecture?

  1. Model-View-Controller

  2. Make-Value-Case

  3. Make-Value-Controller

  4. Model-Value-Controller


Correct Option: A

Classes defined in other classes, including those defined in methods

  1. Inner Class

  2. Sub class

  3. Private Class

  4. Both a &b


Correct Option: A

How many methods can clone able interface can have?

  1. One

  2. Two

  3. Three

  4. None of the above


Correct Option: D

---------are modules that extend request/response-oriented servers, such as java-enabled web servers

  1. Applet

  2. Servlets

  3. Scriptlet

  4. Both b& c


Correct Option: B

Who is loading the init() method of servlet?

  1. Web Server

  2. Web container

  3. Super Class

  4. None of the above


Correct Option: A

What are the different servers available for developing and deploying Servlets?

  1. Java Web Server

  2. Jrun

  3. Apache Server

  4. All the above


Correct Option: D

What is the way to communicate from applet to servlet?

  1. HTTP Communication

  2. Socket Communication

  3. RMI Communication

  4. All the above


Correct Option: D

How does applet recognize the height and width?-

  1. getHeight()

  2. getWidth()

  3. getParameters()

  4. Both a & b


Correct Option: C

Classes that allow primitive types to be accessed as objects.

  1. Wrapper Classes

  2. Super Classes

  3. Sub Classes

  4. None of the above


Correct Option: A

------------provides the capability to implement a growable array of objects

  1. Vector

  2. Hash table

  3. Linked list

  4. Enumeration


Correct Option: A
- Hide questions