Answers for "what is a package in java?"

6

java packages example

// import <package>			-> Imports the whole package
// import <package>.<class> -> Imports a certain class
import java.util.Scanner;
Posted by: Guest on May-27-2020
-1

how to declare a package in java

package
Posted by: Guest on July-14-2021
-1

java package

package mypack;
public class employee 
{
    String empId;
    String name; 
}
Posted by: Guest on August-13-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language