Results 1 to 2 of 2
- 03-10-2011, 01:08 AM #1
Member
- Join Date
- Mar 2011
- Posts
- 3
- Rep Power
- 0
Object creation at runtime based on kind of input
Hi,
I have 3 kinds of input for an input parameter and depending on the kind of input for this parameter, I want to create a particular type of object for that run of the program.
I also would like to make a base class for these 3 kinds and then at runtime, based on kind of input, create the type of the derived object.
How can I do this ?
Thanks,
-JJ
- 03-10-2011, 05:33 AM #2
You didn't bother to reply to the three helpful responses on your double-posted earlier question* and you still expect to get help here?
db
* how to run parallel processes ?
* how to run parallel processes from a java program ?
Similar Threads
-
Dynamic Create Object based on user's input?
By diskhub in forum New To JavaReplies: 2Last Post: 03-08-2011, 04:47 PM -
Dynamic creation of custom filter based on the columns visible in the tableColumnHead
By neha_sinha in forum AWT / SwingReplies: 5Last Post: 07-09-2010, 06:14 AM -
Create object of unknown class, based on existing object
By Zack in forum New To JavaReplies: 2Last Post: 06-22-2010, 04:29 AM -
object creation
By enygma in forum Java AppletsReplies: 0Last Post: 01-05-2010, 10:01 AM -
Single XSD Creation for input/output
By lavanya82 in forum XMLReplies: 0Last Post: 03-13-2009, 12:02 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks