Comment on Tutorial - The switch Statement example in Java By Kamini



Comment Added by : Shivak

Comment Added at : 2013-09-27 01:48:41

Comment on Tutorial : The switch Statement example in Java By Kamini
How would you use a switch statement to determine if a number input by a user is positive or negative or zero? I can totally see how to do that with an if/else statement, but how about a switch statement?

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. The code to show recursion is ok, but the declara
View Tutorial          By: Gaurav at 2010-08-08 01:08:27

2. I want to change software of micromax x455 mobile
View Tutorial          By: Sachin at 2012-12-29 09:39:58

3. I have writtent this code in my jdbc program,

View Tutorial          By: yeshdeep kumar at 2014-11-12 07:46:46

4. Hi Sir,
Thank You so much for your

View Tutorial          By: kareena at 2010-10-21 23:26:37

5. from docs api api/java/awt/Frame/setOpacity:

View Tutorial          By: robert at 2014-12-12 07:48:59

6. I did this exactly.
In my case, the fix.php

View Tutorial          By: Manorasa at 2010-06-29 23:32:24

7. nice article, many thanx :)
View Tutorial          By: Unknown at 2008-10-16 21:09:02

8. hi i want to know
can i sent picture of si

View Tutorial          By: Nauman Khalid at 2011-12-10 11:50:39

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

10. Hi All,

I am new to J2ME Applicatio

View Tutorial          By: golemnagesh at 2010-12-05 22:43:50