| Author |
Abstract Classes
|
Swati Singhal
Ranch Hand
Joined: Dec 08, 2003
Posts: 31
|
|
hi, I am new to this forum..so may ask silly questions... I am a lil confused abt the answer of the following questions :
|
 |
Sindhur Sat
Greenhorn
Joined: Feb 23, 2004
Posts: 23
|
|
The answer is C not a: one of the methods is abstract, the whole class has to be abstract and Class is not a keyword in java its actually a class. I mean Class is a class not b: non abstract methods must have bodies. not d: class keyword required Sindhur.
|
 |
Swati Singhal
Ranch Hand
Joined: Dec 08, 2003
Posts: 31
|
|
|
Thanks Sindhur, i was actually confused between options b & c...
|
 |
Swati Singhal
Ranch Hand
Joined: Dec 08, 2003
Posts: 31
|
|
Sindhur, but a non abstract method must have a method body... So what makes c the correct option... still a bit confused.
|
 |
Swati Singhal
Ranch Hand
Joined: Dec 08, 2003
Posts: 31
|
|
Sorry ppl, i got the answer now... Sorry for the real stupid questions...
|
 |
 |
|
|
subject: Abstract Classes
|
|
|