Here is a snip of code
From my understanding, this is the package structure is
aquarium.Water
aquarium.jellies.Water
If this is the case, What does the statement
import aquarium.* do ?
1. Will it import both
water classes ?
2. Will it throw an error because its conflicts with the structure
package1.package2...packageN.Class when it finds the nested jellies package?
3. Will it simply import the Water class from the aquarium package and ignore the nested jellies package
I believe that number 3 is correct because 1 is impossible but I don't understand why 2 is not correct. For example if the class
aquarium.Water didnt exist, then 2 would be correct ?