aspose file tools*
The moose likes Beginning Java and the fly likes vat is abstract class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "vat is abstract class" Watch "vat is abstract class" New topic
Author

vat is abstract class

kalai sundar
Ranch Hand

Joined: May 25, 2005
Posts: 67
can anyone explain me abt abstract class with good example?



kalai
Niyas Ahmed Sheikh
Ranch Hand

Joined: Jun 15, 2005
Posts: 129
Abstract class is a class will have abstract methods and non-abstarct methods may also.

If you want to use abstart methods, then the class should also be abstract.

Generally abstract methods will have declaration part only. It must be implemented by the subclass which extends it.

Ex:

Niyas Ahmed Sheikh
Ranch Hand

Joined: Jun 15, 2005
Posts: 129
Sorry, in the last post I typed mistakenly. I bolded that one. It should be public void methodname(). Any method name, but not already used in the abstarct class.

Steve Morrow
Ranch Hand

Joined: May 22, 2003
Posts: 657

can anyone explain me abt abstract class with good example?

Please read the following: The Java� Tutorial - Writing Abstract Classes and Methods
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: vat is abstract class
 
Similar Threads
A question about container!
usage of a class
HttpServlet class
ABSTRACT
A mock question