Welcome Guest | Sign in | Register
Threads - Discussion Page For Q.2962 | Java Programming Questions and Answers | Java Programming Free Online-Tests | LucentBlackBoard | LucentBlackBoard.com

Home > Java Programming > Threads > Questions and Answers

Q: Which of the following method can be a override method of
public void run()
A. private void run() B. public void run()
C. public void run() throws Exception D.  public String run()

Answer and Explanation

Answer:public void run()

Explanation:
A - Visilbility cannot be reduced
C- Cannot throw new exceptions
D- cannot change the return type

Comment on this Question

Name:

Loading...




Partner Sites
LucentBlackBoard.com                  SoftLucent.com                  LucentJobs.com
All rights reserved © 2012-2015 SoftLucent.