How to use packages in command prompt? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to use packages in command prompt?

I'm using the command prompt! how to use the defined classes??

10th May 2017, 12:25 PM
Hari Shankar C B
Hari Shankar C B - avatar
1 Answer
+ 8
You import the needed classes in the the class where you use them and run the class which contains the main method from console. I hope I got your question correctly, I'm not sure what you mean...
10th May 2017, 6:00 PM
Tashi N
Tashi N - avatar