I want to make a project that consists of different games in different classes. How would I do this?
Here is the link to my repl https://repl.it/@NimishP/Games
I want to be able to go from one class to another when I run the code.
Thanks, NimishP
you need use import classname: but the class that you want to import needs be "public"
How to access one class from another class that's in the same project
I want to make a project that consists of different games in different classes. How would I do this?
Here is the link to my repl
https://repl.it/@NimishP/Games
I want to be able to go from one class to another when I run the code.
Thanks,
NimishP
you need use import classname: but the class that you want to import needs be "public"