0

I have made a folder and inside that a java file. When I am trying to run the java program then I am getting this error. The name of my folder is DSA and java file is Tut1.I have added the package DSA. Another thing is that when I am removing that line package DSA then vscode is showing some error with red line but I am getting the ouput. How do I rectify it?

I tried to remove the line Package DSA and then I was getting the output.

Mark Rotteveel
  • 100,966
  • 191
  • 140
  • 197

0 Answers0