Packages in Java | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Packages in Java

WAP to create a package as MyPack having a class with three methods: max, fact and show. Use it in other folder with setting classpath and without setting class path. The methods mentioned above can be used to perform any specific task. Please implement this code keeping in mind that we have to run it in jdk using cmd.

20th Oct 2018, 3:36 PM
Rishabh Pandey
Rishabh Pandey - avatar
1 Answer
0
Not sure if I'd be much help, but maybe this could be answered if you showed what you have so far?
1st Nov 2018, 11:42 PM
Janning⭐
Janning⭐ - avatar