Questions

Q:

public abstract interface Frobnicate { public void twiddle(String s); } 

Which is a correct class?

A) public abstract class Frob implements Frobnicate { public abstract void twiddle(String s) { } } B) public abstract class Frob implements Frobnicate { }
C) public class Frob extends Frobnicate { public void twiddle(Integer i) { } } D) public class Frob implements Frobnicate { public void twiddle(Integer i) { } }
 
Answer & Explanation Answer: B) public abstract class Frob implements Frobnicate { }

Explanation:

B is correct, an abstract class need not implement any or all of an interface’s methods

Report Error

View Answer Report Error Discuss

Filed Under: Programming

22 75875
Q:

Which ruler of Vijayanagar allowed the Portuguese to build a church in his empire?

 

A) Venkat II B) Achyut Rai
C) Thirumal D) Krishna Deva Rai
 
Answer & Explanation Answer: A) Venkat II

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Indian History
Exam Prep: Bank Exams

2 75873
Q:

Improve the given sentence if necessary.

I wish I can help you.

A) may help B) could have helped
C) could help D) No improvement
 
Answer & Explanation Answer: C) could help

Explanation:

Modal ‘can’ needs to be replaced with ‘could’ to make the sentence grammatically correct.‘Could’ is used to express power and possibility in past tense. Thus, the correct formation would be, ‘I wish I could help you’.

 

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 75839
Q:

Read each sentence to find out whether there is any error in any part

He will be(a) cured from(b) his fever(c). No error(d).

A) a B) b
C) c D) d
 
Answer & Explanation Answer: B) b

Explanation:

‘Cured’ is followed by the preposition ‘of’. Thus, the correct sentence would be, ‘He will be cured of his fever’.

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

1 75829
Q:

Improve the bracketed part of the sentence.

I gave her the book that I (won) as a prize.

 

A) will win B) had won
C) am winning D) no improvement
 
Answer & Explanation Answer: B) had won

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 75809
Q:

Improve the bracketed part of the sentence.

 

If a person (studied) the history of the Maratha empire, he would have wondered how a small warrior tribe could have challenged the mighty Mughals.

A) has studied B) had studied
C) could study D) no improvement
 
Answer & Explanation Answer: B) had studied

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 75735
Q:

Improve the bracketed part of the sentence.

Do you know (to whom Raj is going to marry)?

 

A) who is raj going to get married B) who Raj will be going to marry
C) whom Raj is going to marry D) no improvement
 
Answer & Explanation Answer: C) whom Raj is going to marry

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: Bank Exams

0 75726
Q:

Improve the bracketed part of the sentence.

Fans (queue) for the concert tickets since early morning.

A) has queued up B) have had queued
C) have been queuing up D) no improvement
 
Answer & Explanation Answer: C) have been queuing up

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: AIEEE , Bank Exams , CAT

0 75638