Quantcast
Channel: Questions in topic: "class instance"
Viewing all articles
Browse latest Browse all 131

Naming an Instance of a class

$
0
0
Good afternoon, I'm having trouble figuring out how to name an instance of a class automatically. What i mean in detail is i am trying to create a recipe book that a user can put in a name, ingredients and other things... having the instance of the class created on a button press. which means creating the instance Recipe name = new Recipe() ect ect... how can i have the name be created dynamically and not physically?

Viewing all articles
Browse latest Browse all 131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>