Domain Name Forum

Domain Name Forum (http://www.domainnameforum.org/index.php)
-   Java (http://www.domainnameforum.org/forumdisplay.php?f=125)
-   -   referring to objects via user input strings (http://www.domainnameforum.org/showthread.php?t=89596)

Java 04-24-2010 02:12 AM

referring to objects via user input strings
 
I have 2 objects called X and Y created from a class called Product which has a field called numInStock. From another driver program, I want a user to input either X or Y with their response being stored in a string userchoice (so user enters X or Y as a response) Then I want to be able to...


All times are GMT -4. The time now is 04:27 AM.

Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.