Packages

1. Program

Just showing class A belongs from apple package ?

package apple; class A { public static void main(String[] args) { System.out.println("from apple"); } }

2. Program

Just showing class B belongs from boy package ?

package boy; class B { public static void main(String[] args) { System.out.println("from boy"); } }

3. Program

Just showing class C belongs from cat package ?

package cat; class C { public static void main(String[] args) { System.out.println("from cat"); } }

4. Program

Just showing class D belongs from dog.puppy package ?

package dog.puppy; class D { public static void main(String[] args) { System.out.println("from puppy"); } }

5. Program

Just showing class A belongs from bigElephant.elephant package ?

package bigElephant.elephant; class E { public static void main(String[] args) { System.out.println("from elephant"); } }

Page....