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:

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 3532
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:

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

Which of the statements given below are correct?

A) Alexander Zverev won the Tennis 2017 Italian Open Men's Singles.

B) In 2017 Pro Kabaddi League, Selvamani K played for Puneri Paltan.

C) United States hosted the Tennis 2017 Hopman Cup.

 

A) Only A B) Only B
C) Both A and B D) Both A and C
 
Answer & Explanation Answer: A) Only A

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Sports
Exam Prep: Bank Exams

0 3530
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 3529
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