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. very nice keep sharing thanks a lot
View Tutorial          By: Adeel at 2014-09-24 09:50:00

2. Very good
View Tutorial          By: dizh at 2014-02-21 07:48:19

3. You have mentioned that
to use this program

View Tutorial          By: Naasik at 2012-08-05 00:15:57

4. Good one
View Tutorial          By: Soumya Anoop at 2010-05-13 23:23:44

5. Why the output list in the wrong order?
View Tutorial          By: Pavel at 2013-02-23 12:05:02

6. very good example.....................
View Tutorial          By: sreeLakshmi at 2012-06-15 08:21:12

7. wow! thats nice, java program can read and write t
View Tutorial          By: Mutare at 2011-02-25 22:58:09

8. i want to know the step by step process of vb.net
View Tutorial          By: moumita das at 2012-12-01 12:28:35

9. PLEASE I WANT A CODE TO BE PUT BEHIND A BUTTON SO
View Tutorial          By: KALUSHA at 2012-07-02 12:32:56

10. hi,
Very nice tutorial. But please I have s

View Tutorial          By: hemn at 2010-04-17 06:02:00