Java includes the import statement to bring certain classes, or entire packages, into visibility. Once imported, a class can be referred to directly, using only its name… Read more »
Objective
• Set CLASSPATH variable;
• Explain how the user created packages can be used in programs;
• Define Interface;
• Explain the need of Java interfaces in programming;
• Implement interfaces in classes
• Use interfaces to store constant variables of programs