Results 1 to 3 of 3
Thread: abstract class
- 08-22-2011, 01:35 PM #1
Member
- Join Date
- Aug 2011
- Posts
- 20
- Rep Power
- 0
- 08-22-2011, 01:38 PM #2
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,412
- Blog Entries
- 7
- Rep Power
- 17
When people rob a bank they get a penalty; when banks rob people they get a bonus.
- 08-22-2011, 01:41 PM #3
Moderator
- Join Date
- Apr 2009
- Posts
- 10,481
- Rep Power
- 16
Not sure I understand the question.
Do you have an example?
Because the way the question sounds at the moment is that if I have:
you seem to think that extending that class will force you to override the someMethod, even though it's not abstract. Which isn't true.Java Code:public abstract class Test { public void someMethod() { } }
Similar Threads
-
abstract method-abstract class
By durgaprasad1407 in forum New To JavaReplies: 1Last Post: 04-29-2011, 06:58 PM -
Class is not abstract and does not override abstract method run(com.
By rgeurts in forum New To JavaReplies: 4Last Post: 04-14-2011, 11:42 AM -
How can I call abstract class methods from another class
By srinivas2828 in forum New To JavaReplies: 13Last Post: 03-12-2010, 02:33 PM -
Difference between Abstract class having only abstract method and a Interface class
By Santoshbk in forum New To JavaReplies: 6Last Post: 02-11-2009, 10:51 AM -
what is the Priority for execution of Interface class and a Abstract class
By Santoshbk in forum Advanced JavaReplies: 0Last Post: 04-02-2008, 07:04 AM


3Likes
LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks