Questions

Q:

Which of the following is true?

A) It is appropriate to use assertions to validate arguments to methods marked public B) It is appropriate to catch and handle assertion errors
C) It is NOT appropriate to use assertions to validate command-line arguments D) None
 
Answer & Explanation Answer: C) It is NOT appropriate to use assertions to validate command-line arguments

Explanation:

A is incorrect. It is acceptable to use assertions to test the arguments of private methods.

 

B is incorrect. While assertion errors can be caught, Sun discourages you from doing so.

Report Error

View Answer Report Error Discuss

Filed Under: Programming

0 3818
Q:

The first indian to enter the Indian Civil Service was

A) Gokhale B) Satyendra Nath Tagore
C) Ramanuja D) Rabindranath Tagore
 
Answer & Explanation Answer: B) Satyendra Nath Tagore

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History

3 3818
Q:

"Tigris River" flows through which of the following countries ?

A) Iran B) Italy
C) Iraq D) Egypt
 
Answer & Explanation Answer: A) Iran

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Geography
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Bank Clerk , Bank PO

16 3817
Q:

The 90oEast Ridge lies in the _______Ocean

A) Pacific B) Atlantic
C) Indian D) Arctic
 
Answer & Explanation Answer: C) Indian

Explanation:

The 90oEast Ridge is aseismic, composed of volcanic rock it is about 1700 km long treading in a NNE direction into Bay of Bengal from the Indian Ocean.

Report Error

View Answer Report Error Discuss

Filed Under: World Geography
Exam Prep: AIEEE , Bank Exams , CAT

3 3817
Q:

Where is the Morris Canal Located?

A) New Jeresy B) Michigan
C) California D) Washington
 
Answer & Explanation Answer: A) New Jeresy

Explanation:

It is located in New Jeresy

Report Error

View Answer Report Error Discuss

Filed Under: Famous Places

11 3816
Q:

Who is the author of the book "The Hungry Tide"?

A) Mitali Meelan B) Ravinder Singh
C) Amitav Ghosh D) Sudha Murty
 
Answer & Explanation Answer: C) Amitav Ghosh

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank PO

13 3816
Q:

Dimond is

A) an element B) a compound
C) a mixture D) a liquid
 
Answer & Explanation Answer: A) an element

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Chemistry

3 3816
Q:

Classify the Hashing Functions based on the various methods by which the key value is found.

Answer

Direct method,


 Subtraction method,


 Modulo-Division method,


 Digit-Extraction method,


 Mid-Square method,


 Folding method,


Pseudo-random method

Report Error

View answer Workspace Report Error Discuss

Subject: Technology

5 3814