Results 1 to 7 of 7
Thread: need help with subclasses
- 02-19-2011, 03:34 AM #1
Member
- Join Date
- Feb 2011
- Posts
- 33
- Rep Power
- 0
- 02-19-2011, 03:42 AM #2
- Join Date
- Jan 2011
- Location
- Richmond, Virginia
- Posts
- 3,069
- Blog Entries
- 3
- Rep Power
- 7
Your statement tells us what you want, but it's overly vague, and we can't read your mind, please provide us with more information? What do you want to subclass, what have you tried so far?
In general you want to look at the classes you want and look for common stuff, then make a base class with the common parts and subclass to a more detailed class from there.
- 02-19-2011, 04:12 AM #3
Member
- Join Date
- Feb 2011
- Posts
- 33
- Rep Power
- 0
Sry the reason I want a subclass is that I have a GUI and the code into the one and its not running
-
- 02-19-2011, 05:26 AM #5
Member
- Join Date
- Feb 2011
- Posts
- 33
- Rep Power
- 0
I figured out the subclasses part, I'm going to try to elaborate better. I am trying to run a game of rock, paper scissors, lizard, spock. I have pretty much most of the code correct except I am have trouble writting the code to run the simulation. On my java file attachment the code is at the bottom. Could you hlep me fix this problem??
-
- 02-19-2011, 05:34 AM #7
Member
- Join Date
- Feb 2011
- Posts
- 33
- Rep Power
- 0
Similar Threads
-
Inheritance and Subclasses
By whateverme in forum New To JavaReplies: 6Last Post: 02-10-2011, 01:47 PM -
Dynamic Subclasses?
By MrFish in forum Advanced JavaReplies: 5Last Post: 11-07-2010, 01:28 AM -
Lost with subclasses
By vinyacam in forum New To JavaReplies: 3Last Post: 05-09-2010, 07:12 PM -
Generics and subclasses
By Sven in forum Advanced JavaReplies: 1Last Post: 12-22-2008, 06:06 PM -
Hibernate subclasses
By Ed in forum JDBCReplies: 2Last Post: 07-02-2007, 04:42 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks