Java-Handling Identical Classes

Handling Identical Classes When we import multiple packages it is likely that two or more packages contain classes with identical names. Example : We may import and use these packages like : Since both the packages contain the class DataClass. compiler cannot understand which one to use and therefore generates an error. In such instance, … Read more…