IT Trainer Questions


Q:

Which of the following are incorrect form of StringBuffer class constructor  ?

A) StringBuffer(int size , String str) B) StringBuffer(int size)
C) StringBuffer(String str) D) StringBuffer()
 
Answer & Explanation Answer: A) StringBuffer(int size , String str)

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Java
Job Role: Database Administration , IT Trainer

3 6984
Q:

Solve this logical Math puzzle?

logical_thinking_puzzle1536132282.jpg image

Answer

Let that something be 'x'


From the given data,


x + x/5 = 21


5x + x/5 = 21


6x = 21 x 5


=> x = 17.5


 


Hence, that something is x = 17.5.

Report Error

View answer Workspace Report Error Discuss

9 6977
Q:

Durand Cup is associated with the game of

A) Badminton B) Volleyball
C) Football D) Hockey
 
Answer & Explanation Answer: C) Football

Explanation:

Durand Cup is associated with the game of Football.

 

 

 

Durand_Cup_is_associated_with_the_game_of1556278989.jpg image

 

 

 

The Durand Football Tournament or Durand Cup is a football competition in India which was first held in 1888. This competition was named after its founder, Sir Mortimer Durand from Simla.

Report Error

View Answer Report Error Discuss

7 6940
Q:

Solve this number puzzle?

Number_puzzle_41538031779.jpg image

A) 111 B) 121
C) 1111 D) 0
 
Answer & Explanation Answer: B) 121

Explanation:

Given 

1 = 1 => 1 x 11 = 11

2 = 22 => 2 x 11 = 22

3 = 33 => 3 x 11 = 33

...

...

Similarly,

11 => 11 x 11 = 121.

Report Error

View Answer Report Error Discuss

16 6922
Q:

What grows when it eats but dies when it drinks?

Answer

A fire grows when it eats but dies when it drinks.

Report Error

View answer Workspace Report Error Discuss

Subject: Logic Puzzles Exam Prep: AIEEE , Bank Exams , GRE
Job Role: Analyst , Bank Clerk , Bank PO , IT Trainer

12 6905
Q:

Which two method you need to implement for key Object in HashMap ?

Answer

In order to use any object as Key in HashMap, it must implements equals and hashcode method in Java.

Report Error

View answer Workspace Report Error Discuss

4 6902
Q:

Although glory but not at my best. Power will fall to me when the man who made me dies. What am I?

Answer

PRINCE.

Report Error

View answer Workspace Report Error Discuss

20 6847
Q:

What lives in the winter dies in the summer?

A) Plants B) Animals
C) Icycle D) None of the above
 
Answer & Explanation Answer: C) Icycle

Explanation:

An icycle, a hanging spike of ice formed by the freezing of dripping water forms due to cool in winter and dies in summer due to hot.

Report Error

View Answer Report Error Discuss

4 6826