Thursday, January 31, 2019

What will happen if you import a package twice ?

package com.concretepage;
import java.lang.*;
import java.lang.*;

public class ImportingTheJavaLangPackageTwice {
public static void main(String[] args) {
       System.out.println("I have exploded Out of this Package");
}
}

Answer :
-----------
Well nothing will happen

No comments:

Post a Comment