Comment on Tutorial - Increment and Decrement Operator By aathishankaran



Comment Added by : prajjawal

Comment Added at : 2013-02-27 12:36:58

Comment on Tutorial : Increment and Decrement Operator By aathishankaran
class Evaluate
{
public static void main(String args[])

{
int y=6;
try
{
int x=++y+2y;
System.out.println("The value is:"+x);
}
catch(Exception e)
{
System.out.println("Error:"+e);
}
}
}
i need to know how this is incorrect......


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. great work
View Tutorial          By: Dinesh557 at 2008-09-25 00:27:59

2. awesome example
View Tutorial          By: jagjyot singh at 2010-01-12 20:39:04

3. Dear !

Thanks for the article. Now

View Tutorial          By: Mubasher at 2013-05-04 11:37:52

4. Hi
Can u plz tell me how to implement this

View Tutorial          By: Rohan at 2008-09-23 05:52:31

5. The example is awesome i found it most useful amon
View Tutorial          By: sabir pasha at 2009-01-20 05:11:34

6. Hello,

I am still getting the below

View Tutorial          By: pavithra at 2012-03-25 19:33:38

7. i have connected my phone through bluetooth and us
View Tutorial          By: nikitha at 2013-02-05 09:07:34

8. well done!!nice work
View Tutorial          By: Dxy at 2010-07-26 00:46:55

9. Its awesome
View Tutorial          By: Ranjitha at 2012-08-02 10:21:59

10. can any body help me how to execute this code ....
View Tutorial          By: nikhil at 2009-06-04 23:10:30