Relative Content

Tag Archive for javavisual-studio-codepackage

Package names not updating automatically on Java VSCode

I’m using Java extension on VSCode and, if I create a directory and add a class after it it runs with no problem, automatically adding the right package to it. But if I change this class of directory the packages don’t update automatically so:

Error in Creating User Defined package in Java

I am new to Java and recently learnt about creating user defined packages to be later imported and used in projects . I created my own package but when I entered package at the top of my file , it started showing errorsScreenshot of my screen