Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » How to use Cansole in Java EE IDE
icon4.gif  How to use Cansole in Java EE IDE [message #1005367] Fri, 25 January 2013 01:48 Go to next message
Eimal Dorani ایمل درانی is currently offline Eimal Dorani ایمل درانی
Messages: 2
Registered: January 2013
Junior Member
// plz make the following code, error free in Java EE IDE(Eclips)


public class kaKabiaBia {
public static void main(String [] args) {

int a = Console.readline("Enter a value for a");
int b = Console.readline("Enter a value for b");

if(a = = b)
{
System.out.println("They are equal!\n");
}
else if( a < b)
{
System.out.println("The first number is smaller.\n");
}
else
{
System.out.println("The second number is smaller.\n");
}
}


}
Re: How to use Cansole in Java EE IDE [message #1005944 is a reply to message #1005367] Tue, 29 January 2013 06:21 Go to previous messageGo to next message
Wyan Davidson is currently offline Wyan Davidson
Messages: 1
Registered: January 2013
Junior Member
Wow, it did not create any problems during the process of java development.
Re: How to use Cansole in Java EE IDE [message #1006260 is a reply to message #1005944] Wed, 30 January 2013 10:40 Go to previous message
Eimal Dorani ایمل درانی is currently offline Eimal Dorani ایمل درانی
Messages: 2
Registered: January 2013
Junior Member
what do u mean?
Previous Topic:TCP/IP Monitor in Eclipse Classic
Next Topic:Determining version of JRE programmatically
Goto Forum:
  


Current Time: Thu Aug 21 08:21:41 EDT 2014

Powered by FUDForum. Page generated in 0.01660 seconds