Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Comments on How can one import two classes with the same name in Java8?
Post
How can one import two classes with the same name in Java8?
+5
−0
Some development tools provide an error message when a user tries to import two things (classes, packages) with the same name. Some programming languages offer a syntax to import one of those things under a different name. In Python, that syntax is import foo from bar as foobar
. Does Java have an analogous construct for this?
1 comment thread