0

programming languages Online Quiz - 212

Description: programming languages Online Quiz - 212
Number of Questions: 20
Created by:
Tags: programming languages
Attempted 0/20 Correct 0 Score 0
  1. Compilation succeeds.

  2. Compilation fails due only to an error on line 3.

  3. Compilation fails due only to an error on line 4.

  4. Compilation fails due only to an error on line 5.

  5. Compilation fails due only to an error on line 3 and 5.

  6. Compilation fails due only to an error on line 3,4 and 5.


Correct Option: A

Given: 1. class Convert { 2. public static void main(String[] args) { 3. Long xL = new Long(456L); 4. long x1 = Long.valueOf("123"); 5. Long x2 = Long.valueOf("123"); 6. long x3 = xL.longValue(); 7. Long x4 = xL.longValue(); 8. Long x5 = Long.parseLong("456"); 9. long x6 = Long.parseLong("123"); 10. } 11. } Which will compile using Java 5, but will NOT compile using Java 1.4? (Choose all that apply.)

  1. Line 4

  2. Line 5

  3. Line 6

  4. Line 7

  5. Line 8

  6. Line 9


Correct Option: A,D,E
  1. Faster f = Faster.Higher;

  2. Faster f = Better.Faster.Higher;

  3. Better.Faster f = Better.Faster.Higher;

  4. Bigger.Faster f = Bigger.Faster.Higher;

  5. Better. Faster f2; f2 = Better.Faster.Longer;

  6. Better b; b.Faster = f3; f3 = Better.Faster.Longer;


Correct Option: C,E
  1. Check table will be at field level checking.

  2. Value table will be at domain level checking

  3. Value table will be at field level checking

  4. Check table will be at domain level checking


Correct Option: A,B

How many types of tables exist in data dictionary?

  1. Transparent tables

  2. Internal Table

  3. Pool tables

  4. Cluster tables


Correct Option: A,C,D

Is Session Method, Asynchronous or Synchronous?

  1. Asynchronous

  2. Synchronous

  3. Synchronous and Asynchronous

  4. None of above


Correct Option: B
  1. Message-driven beans (MDBs)

  2. EJB query language (EJB-QL)

  3. Support for Web services

  4. All of the Above

  5. Only 1 & 2

  6. Only 1 & 3


Correct Option: D
  1. Entity beans are permanent business entities

  2. Entity Beans are persistence objects

  3. EntityBeans are permanent

  4. All of the Above

  5. Only 1 & 2

  6. Only 1 & 3


Correct Option: D
  1. Java Messaging Service

  2. Java Message Service

  3. Java Messenger Service

  4. Java Model Security


Correct Option: A
- Hide questions