Click here to Skip to main content
15,944,136 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Sir I have built a package in netbeans 14(java). how will i import that package in other files
project name javapckg
added a package named myPckg...including a public class named mine
Sir how will i add the package rather import it in other files...?

What I have tried:

Nothing but just created the package.
Posted
Updated 25-Jan-23 22:46pm

1 solution

You should have read this first: Java Packages[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900