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. Good example. However as someone said, it would be
View Tutorial          By: Neo Cambell at 2010-03-10 11:02:06

2. Hi I am developing a code for data transfer from
View Tutorial          By: Rajavel at 2014-03-21 14:17:54

3. hey plz tell me... can the sequenceinputstream be
View Tutorial          By: gaurav at 2010-08-18 17:21:58

4. Hi All,

Can any one please let me k

View Tutorial          By: Deepak at 2015-03-19 15:24:40

5. how to downlow the different 5 files please !!
View Tutorial          By: Agnin at 2009-06-24 05:29:09

6. Thanks ,got useful information on toString().
View Tutorial          By: jaffar at 2011-08-01 10:15:04

7. hello sir

i am simulating railway r

View Tutorial          By: karthick at 2008-08-30 03:09:42

8. Hallo every one. I am working on my project in j2m
View Tutorial          By: radhe at 2010-12-14 08:08:25

9. thank you for code
View Tutorial          By: turki at 2013-12-11 13:23:44

10. Introduction is very clear I get the answer what I
View Tutorial          By: sathya at 2013-02-05 15:57:30