Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Unable import class from another .java file(Unable import class from another .java file)
Unable import class from another .java file [message #1780298] Fri, 19 January 2018 16:47 Go to next message
Martin Ouimet is currently offline Martin OuimetFriend
Messages: 1
Registered: January 2018
Junior Member
From my Exercice1.java file, I'm unable to import the Exercice1Test to use the class.

What's wrong?

See attached file for screenshot.

Thanks
  • Attachment: scree.png
    (Size: 36.88KB, Downloaded 8 times)
Re: Unable import class from another .java file [message #1780323 is a reply to message #1780298] Sat, 20 January 2018 02:29 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 3076
Registered: July 2009
Senior Member

What is the error message? I ask because you don't need to explicitly import a type when it's in the same package.

Nitin Dahyabhai
Eclipse Web Tools Platform

[Updated on: Sat, 20 January 2018 03:08]

Report message to a moderator

Previous Topic:How to make eclipse helios 32 bit run into 64 bit jdk and windows
Next Topic:Why does not it run?
Goto Forum:
  


Current Time: Mon Feb 19 06:36:47 GMT 2018

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

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