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

Home > Java Programming > Abstract > Questions and Answers

Q: Public abstract class Wow {
Private int wow;
Public Wow (int wow) {
This.wow=wow;
}
Public void wow ( ) {}
Private void wowiz ( ) {}
}
A. Compiles without any error B. It will not compile because abstract class cannot have private methods.
C. It will not compile because abstract class cannot have instance variables. D. It will not compile because abstract class must have atleast one abstract method.

Answer and Explanation

Answer:Compiles without any error

Explanation:
There is no explanation...

Comment on this Question

Name:

Loading...




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