954,523 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

EasyIn method in java

public class First
{
public static void main(String[] args)
{
int a;
a=EasyIn.getInt();
System.out.println(" the value of a " +a);
}}
// this code is showing an error of " easy In " not finding symble.
// help me

umair jameel
Newbie Poster
6 posts since Nov 2011
Reputation Points: 10
Solved Threads: 0
 

you are calling the method getInt() from the class EasyIn. unless you have written a class EasyIn, that class does (as far as I know) not exist.
if you did make it, you need to import it.
or, you could use the Scanner class instead.

stultuske
Posting Sensei
3,137 posts since Jan 2007
Reputation Points: 1,114
Solved Threads: 433
 

Where is EasyIn defined? Is it a class that is in a jar file that you need to include on the javac program's classpath?

Where did you find EasyIn? Is there any doc there about it?

NormR1
Posting Expert
Moderator
6,677 posts since Jun 2010
Reputation Points: 1,138
Solved Threads: 656
 
you are calling the method getInt() from the class EasyIn. unless you have written a class EasyIn, that class does (as far as I know) not exist. if you did make it, you need to import it. or, you could use the Scanner class instead.

since someone thinks this answer of mine is negative input, would that person be so kind as to share with me why it is wrong? if it indeed is nonsense, informing me why might help me giving the correct answer next time.

stultuske
Posting Sensei
3,137 posts since Jan 2007
Reputation Points: 1,114
Solved Threads: 433
 

Let us know if you find out how to determine who presses those arrows.

NormR1
Posting Expert
Moderator
6,677 posts since Jun 2010
Reputation Points: 1,138
Solved Threads: 656
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: