Skip to main content


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 06:48 Go to next message
Eimal Dorani ایمل درانی is currently offline Eimal Dorani ایمل درانیFriend
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 11:21 Go to previous messageGo to next message
Wyan Davidson is currently offline Wyan DavidsonFriend
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 15:40 Go to previous message
Eimal Dorani ایمل درانی is currently offline Eimal Dorani ایمل درانیFriend
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: Tue Mar 19 03:56:29 GMT 2024

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

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

Back to the top