w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
How to import duplicate package structures and classes in a Java application

you can't do this, in java a class its identified by his package and his name, you cannot have two classes in the same package with the same name.

In fact its really a very bad practice, why you have two things with exact the same name representing two different things?. Change your package an include the application name, at least, in the name:


© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.