Searching for "%"

Q:

try { int x = Integer.parseInt("two"); }

Which could be used to create an appropriate catch block?

A) ClassCastException B) IllegalStateException
C) NumberFormatException D) None
 
Answer & Explanation Answer: C) NumberFormatException

Explanation:

C is correct. 'Integer.parseInt' can throw a NumberFormatException, and IllegalArgumentException is its superclass 

Report Error

View Answer Report Error Discuss

Filed Under: Java

Q:

Methods declared as what cannot be overriden?

A) Transcient B) Abstract
C) Final D) Super
 
Answer & Explanation Answer: C) Final

Explanation:

Once a method declared as Final cannot be  overriden

Report Error

View Answer Report Error Discuss

Filed Under: Programming

Q:

When is the shortest day observed?

A) June 21 B) December 22
C) June 22 D) December 21
 
Answer & Explanation Answer: B) December 22

Explanation:

Shortest of all the days is observed on Decenber 22

Report Error

View Answer Report Error Discuss

Q:

There are how many Non-permanant members of Security Council?

A) 5 B) 10
C) 15 D) 20
 
Answer & Explanation Answer: B) 10

Explanation:

There are 10 Non-permanant members of Security Council

Report Error

View Answer Report Error Discuss

Filed Under: Indian Politics

Q:

Smallest of all the continents?

A) Asia B) Australia
C) Africa D) America
 
Answer & Explanation Answer: B) Australia

Explanation:

Australia is the smallest of all the continents

Report Error

View Answer Report Error Discuss

Q:

Reykjavik is the capital of which country?

A) Jamaica B) Jordan
C) Iceland D) Ireland
 
Answer & Explanation Answer: C) Iceland

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Country Capitals

Q:

What is the capital of Bulgaria?

A) Yaounde B) Sofia
C) Moroni D) None
 
Answer & Explanation Answer: B) Sofia

Explanation:

Moroni is the capital of Bulgaria

Report Error

View Answer Report Error Discuss

Filed Under: Country Capitals

Q:

Which is the highest Plateu?

A) Deccan B) Pamir
C) Colorado D) None
 
Answer & Explanation Answer: B) Pamir

Explanation:

Pamir is the highest of all the platues.It is located in Tibet

Report Error

View Answer Report Error Discuss