Explain Package declaration

Package declaration: It is a declaration employed to name a package. This should be the first item in the source file, preceding any import statements. For example,

    package java.lang;

   Related Questions in Programming Languages

©TutorsGlobe All rights reserved 2022-2023.