Ask coding questions

← Back to all posts
How to build a Java package
Tanisi90 (1)

How would we create a package in a Java program?

I went to the package bar on the side however, do not know what to import so that the Replit IDE works like the packages in an IDE outside of it.

Any help is appreciated!

Comments
hotnewtop
DynamicSquid (5031)

I don't think the packages bar on the side is the right way to do it. If you want to use another package, I think you have to download it, and import it to Replit (or just copy and paste the code to Replit).