Searching for "Ho"

Q:

Inside an interface when should the variables be initialized?

A) Globally B) Whenever required
C) Inside a function D) During the time of declaration
 
Answer & Explanation Answer: D) During the time of declaration

Explanation:

They should be initialized during the time of declaration itself otherwise it is a compilation eror

Report Error

View Answer Report Error Discuss

Filed Under: Java
Job Role: IT Trainer

Q:

Why interface method is always public?

Answer

To make this method available to every implementation class

Report Error

View answer Workspace Report Error Discuss

Subject: Java
Job Role: IT Trainer

Q:

Which of the following method declarations are allowed inside interface?

A) public void m1() B) private void m1()
C) protected void m1() D) abstract public void m1()
 
Answer & Explanation Answer: D) abstract public void m1()

Explanation:

Inside an interface every method will be by default abstract and public

Report Error

View Answer Report Error Discuss

Filed Under: Java
Job Role: IT Trainer

Q:

X implements Y, Z

Arguments:

1. X should be class
2. Y, Z should be interfaces

A) Only 1 is true B) Only 2 is true
C) Both 1 and 2 are true D) None
 
Answer & Explanation Answer: C) Both 1 and 2 are true

Explanation:

Both the statements are true 

Report Error

View Answer Report Error Discuss

Filed Under: Java
Job Role: IT Trainer

Q:

He is the world's only person who has climbe all the 14 peaks of the mountains without using oxyger cylinders

A) Henry Ford B) Reinhold Messner
C) John D) Bachhendri Pal
 
Answer & Explanation Answer: B) Reinhold Messner

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Sports

Q:

Who among the following women has become the highest individual scorer in an innings in Tests

A) Rahul Dravid B) SachinTendulkar
C) V.V.S.Lakshman D) Virender Sehwag
 
Answer & Explanation Answer: D) Virender Sehwag

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Sports

Q:

India first won the Olympic Hockey gold at

A) London B) Berlin
C) Amstedam D) Los Angeles
 
Answer & Explanation Answer: C) Amstedam

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Sports

Q:

Who was called the ' Flying Sikh '

A) Ajmer Singh B) Makhan Singh
C) Shamsher Singh D) Milkhan Singh
 
Answer & Explanation Answer: D) Milkhan Singh

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Sports