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. thanks brother i hope this is most important for e
View Tutorial          By: manglesh upadhyay at 2012-09-26 04:40:41

2. Thanks for the clear illustration of the MVC2 arch
View Tutorial          By: Tayo at 2010-01-03 12:53:46

3. Can you give me an example to create InetAddress f
View Tutorial          By: Vaibhav at 2009-12-15 23:37:49

4. why push is error in st.push(new Integer(a)); ? an
View Tutorial          By: ann at 2015-02-02 09:23:41

5. This the very good introduction to the J2ME for th
View Tutorial          By: chetan jain at 2010-04-01 06:39:32

6. Thankyou it is Working Fine .....
View Tutorial          By: PDCOE at 2009-02-11 23:02:29

7. Hi Sir...
sir i am working on Speech to Tex

View Tutorial          By: Sadaquat at 2012-08-19 07:51:28

8. Thanks,It worked.I tried with Microsoft Visual C++
View Tutorial          By: gaurav at 2013-12-04 08:27:35

9. where is the main class .
View Tutorial          By: rishi at 2015-10-02 10:17:17

10. In your example http://twitter.com/statuses/updat
View Tutorial          By: thomas wilkinson at 2012-11-02 01:03:45