I was running a code in java and it tells me package system does not exist whats the solution? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I was running a code in java and it tells me package system does not exist whats the solution?

4th Feb 2023, 9:49 AM
Clinton
Clinton - avatar
4 Answers
+ 2
Firstly share your code then we can easily clear what you have a doubt?
4th Feb 2023, 11:17 AM
Sakshi
Sakshi - avatar
+ 2
system does not exists in Java. But System exists.. Find the difference? As told share your code link in description.. Otherwise it is infinite number of solution guesses...
4th Feb 2023, 1:07 PM
Jayakrishna 🇮🇳
+ 1
public class Program { public static void main(String[] args) { int beer = 64; int whisky = 23; system.out.println (beer + whisky); } }
5th Feb 2023, 12:00 PM
Clinton
Clinton - avatar
+ 1
In sololearn app see the bottom side, go to option 'create' and then you can see right side '+' icon press that button choose that programming language and then share your code bits here And the problem is 'System' instead of 'system'.
5th Feb 2023, 12:20 PM
Sakshi
Sakshi - avatar