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 nicely explained,
thank you

View Tutorial          By: Amin at 2010-04-14 09:40:30

2. Hi,

can we use only code given belo

View Tutorial          By: Mahendra at 2012-05-24 10:57:25

3. can you please explain this..!!

t =

View Tutorial          By: kalyan at 2011-06-30 00:01:10

4. i want to learn j2me basic to ....
View Tutorial          By: gopiraj at 2012-12-21 11:52:01

5. I like this tutorial, it is self explaining. good
View Tutorial          By: Nikia at 2013-01-25 20:04:30

6. Thanks for the tutorial.

One questi

View Tutorial          By: Stephen at 2012-06-09 06:36:23

7. it provides manna in the studies of java to me
View Tutorial          By: aravinden at 2011-12-27 08:18:18

8. I used a txt file and stored it under my drawable
View Tutorial          By: Sara at 2014-09-18 16:33:30

9. This is very simple and easy to understand.

View Tutorial          By: satish at 2011-12-25 09:03:16

10. Really helpful way of explanation..And the example
View Tutorial          By: pavan at 2010-04-17 03:10:58