Click here to watch in Youtube :
https://www.youtube.com/watch?v=A6IYji7Z0xA&list=UUhwKlOVR041tngjerWxVccw
Click the below Image to Enlarge
Java Tutorial : Java Package naming collision |
Java Tutorial : Java Package naming collision |
package mypack; public class HelloWorld { public static void main(String[] args) { System.out.println("Hello world Program of 'mypack' Package...."); } }
OutputHello world Program of 'mypack' Package....
package util; public class HelloWorld { public static void main(String[] args) { System.out.println("Hello world Program of 'util' Package...."); } }
Hello world Program of 'util' Package....
https://sites.google.com/site/javaee4321/java/PackageDemoNamingCollision.zip?attredirects=0&d=1
See also:
No comments:
Post a Comment