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

A bimetal made copper and iron strips welded together is straight at room temperature. It is held vertically with iron strip towards left and copper strip towards right. If this bimetal is heated , it will

A) remain straight B) bend towards right
C) bend towards left D) none of these
 
Answer & Explanation Answer: C) bend towards left

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Physics

2 3532
Q:

Which one of the following is NOT amethod of measurement of National Income

A) Value added method B) Income method
C) Expenditure method D) Investment method
 
Answer & Explanation Answer: D) Investment method

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian Economy

3 3532
Q:

Yisrael Kristal, who died recently was certified by Guinness World Records as the _________.

A) World's Tallest Man B) World's Oldest Man
C) World's Youngest Man D) World's Smallest Man
 
Answer & Explanation Answer: B) World's Oldest Man

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Famous Personalities
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Bank Clerk , Bank PO

6 3531
Q:

Which writer had a coat of arms with these words on it, "Non sans droict" or "Not without right"?

Answer

Shakespeare

Report Error

View answer Workspace Report Error Discuss

1 3529
Q:

Prime Minister Narendra Modi flagged off the third Mahamana Express running between_______ .

A) Delhi and Lucknow B) Vadodara and Varanasi
C) Patna and Delhi D) Vadodara and Delhi
 
Answer & Explanation Answer: B) Vadodara and Varanasi

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Awareness
Exam Prep: Bank Exams
Job Role: Bank Clerk

13 3528
Q:

The amount of RAM storage is measured in

A) bytes B) mega bytes
C) giga bytes D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:

RAM storage capacity is measured in bytes, kilo bytes, mega bytes, giga bytes,...

Report Error

View Answer Report Error Discuss

2 3528
Q:

Which half reaction correctly represents reduction?

A) Fe2+ + e- ---> Fe3+ B) Au3+ + 3e– ---> Au
C) Ag ---> Ag+ + e- D) All of the above
 
Answer & Explanation Answer: B) Au3+ + 3e– ---> Au

Explanation:

A half reaction is either the oxidation or reduction reaction component of a redox reaction. A half reaction is obtained by considering the change in oxidation states of individual substances involved in the redox reaction.

Report Error

View Answer Report Error Discuss

Filed Under: Chemistry
Exam Prep: AIEEE , Bank Exams
Job Role: Analyst , Bank Clerk , Bank PO

0 3528