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

In War weapons, AK-47, K stands for?

A) Krushchev B) Karpov
C) Kasparov D) Kalashnakov
 
Answer & Explanation Answer: D) Kalashnakov

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness

2 3819
Q:

In which layer is the pressure the highest?

A) Ionosphere B) Stratosphere
C) Troposphere D) Inner core
 
Answer & Explanation Answer: D) Inner core

Explanation:

"Pressure" is the ratio of mass to area. So, for any given area, the one with more mass pressing on it will experience a higher pressure.

 

As you go more deeply into the atmosphere OR earth itself, you are putting more and more mass over you. For the same unit area therefore, the pressure, (mass/area) increases.

 

Hence, the lowest layer will always have the highest pressure i.e, inner core.

Report Error

View Answer Report Error Discuss

Filed Under: Physics
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO , Database Administration , IT Trainer

2 3818
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 3818
Q:

Ketchup stored in a tin can may lead to chemical contamination.

A) TRUE B) FALSE
Answer & Explanation Answer: A) TRUE

Explanation:

The given statement is True.


Ketchup is acidic, having a pH of 3.9. The acidic component, acetic acid, will react with the metal tin. This reaction will result in a metal acetate that will contaminate the ketchup.


 


Hence, The acetic acid in the ketchup will react with the metal tin, forming a metal acetate that will pass into the ketchup which leads to its contamination.

Report Error

View Answer Workspace Report Error Discuss

Subject: Chemistry
Exam Prep: AIEEE , Bank Exams , GATE
Job Role: Analyst , Bank Clerk , Bank PO

2 3818
Q:

Which country won the World cup in 1999

A) Australia B) South Africa
C) Pakistan D) England
 
Answer & Explanation Answer: A) Australia

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Sports

2 3817
Q:

How many medals has been bagged by India in 5th Asian Indoor and Martial Arts Games ?

A) 19 B) 33
C) 27 D) 40
 
Answer & Explanation Answer: D) 40

Explanation:

With 9 gold, 12 silver and 19 bronze, India won 40 medals in 5th Asian Indoor and Martial Arts Games and finished the Games at 11th.

Report Error

View Answer Report Error Discuss

Filed Under: Sports
Exam Prep: Bank Exams , CAT
Job Role: Bank Clerk

19 3815
Q:

' In CUstody ' , an english novels, is written by which one of the following

A) Vikram Seth B) Shoba De
C) Anita Desai D) VS.Naipaul
 
Answer & Explanation Answer: C) Anita Desai

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Books and Authors

4 3815