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 3803
Q:

World hemophilia day is observed globally on ___________.

A) 18 April B) 15 April
C) 21 April D) 17 April
 
Answer & Explanation Answer: D) 17 April

Explanation:

World hemophilia day is observed globally on 17 April.

Report Error

View Answer Report Error Discuss

Filed Under: Important Days and Years
Exam Prep: Bank Exams , CAT
Job Role: Bank PO

3 3803
Q:

Who of the following has won the Femina Miss India 2014 crown?

A) Vanya Mishra B) Koyal Rana
C) Megan Young D) Navneet Kaur
 
Answer & Explanation Answer: B) Koyal Rana

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

1 3803
Q:

As decided by UNESCO the 'International Literacy Day' is observed on which of the following day every year?

A) 8th September B) 18th September
C) 8th March D) 18th March
 
Answer & Explanation Answer: A) 8th September

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

3 3803
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 3802
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 3802
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 3802
Q:

................mixtures are used for making a glass

A) Quartz and Mica B) Salt and Quartz
C) Sand and Salt D) Sand and Silicates
 
Answer & Explanation Answer: D) Sand and Silicates

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Science

18 3801