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. Excelente, y a pesar de que mi inglés
View Tutorial          By: Monica at 2009-03-24 13:53:51

2. Thank you for the tutorial. I want to create a cat
View Tutorial          By: Lue at 2012-07-09 10:40:08

3. How can I use stack in entering a letter and will
View Tutorial          By: mards at 2014-10-17 12:18:34

4. how to compile and run the above program ? please
View Tutorial          By: samir at 2009-12-22 00:42:52

5. Just read the first page, It really attractive. Le
View Tutorial          By: Md. Sumon Bappi at 2015-05-13 10:47:00

6. im taking hard time in doing programming
View Tutorial          By: joshua louis sumalinog at 2014-12-11 03:26:46

7. what is the use of int getch(void)
and unge

View Tutorial          By: sania at 2014-06-04 17:15:30

8. Hello Ramlak, I am too getting
java.lang.U

View Tutorial          By: Amruta at 2008-11-07 23:56:17

9. Hi guys... I try to run the program and I got this
View Tutorial          By: Glatiuden at 2015-01-31 02:42:37

10. so good .to give easy understand
View Tutorial          By: ashok .my no 9618738732 at 2010-02-15 06:19:48