File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Abstract Classes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Abstract Classes" Watch "Abstract Classes" New topic
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...
 
jQuery in Action, 2nd edition
 
subject: Abstract Classes
 
Similar Threads
abstract class
abstract Classes
Abstract Class
Abstract class qustion from khalid book
abstract