Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » importing ArrayList class(Eclipse wont recognize ArrayList)
importing ArrayList class [message #1841352] Wed, 12 May 2021 21:53 Go to next message
YOSSRY Helal is currently offline YOSSRY HelalFriend
Messages: 1
Registered: May 2021
Junior Member
for some reasons I dont know why the ArralyList Class wont let me import the library
Re: importing ArrayList class [message #1841360 is a reply to message #1841352] Thu, 13 May 2021 05:54 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
You can't import it because your class itself is also named ArrayList. If you need to use java.util.ArrayList anywhere in your org.ArrayList class, you must use the fully qualified name.

Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Minecraft Mod error
Next Topic:Eclipse Tutorial , Creating the Project, Accessing JUnit
Goto Forum:
  


Current Time: Thu Apr 25 13:07:44 GMT 2024

Powered by FUDForum. Page generated in 0.03167 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top