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: 32109
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: Sat Nov 27 14:44:32 GMT 2021

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

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

Back to the top