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 6955
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 6936
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 6881
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 6875
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 6873
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 6846
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 6801
Q:

To exit the PowerPoint application, you should

A) Double click the application control menu icon B) Click the application minimize button
C) Double click the document control menu icon D) Click the document close button
 
Answer & Explanation Answer: A) Double click the application control menu icon

Explanation:

To exit the PowerPoint application, you should Double click the application control menu icon or you can go to file menu and click exit button or you can close the window button.

Report Error

View Answer Report Error Discuss

1 6788