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. helpfull !!!!
View Tutorial          By: Anonymous at 2009-05-12 03:48:15

2. Thank you, that was short and enough :)
View Tutorial          By: Bilal korir at 2014-05-20 21:37:12

3. Hello,
could you send me the complete code

View Tutorial          By: Sanjay at 2013-04-19 07:28:12

4. Thank alot
View Tutorial          By: Naganatarajan at 2010-01-07 05:54:17

5. what if the delimiter is "(quotation mark)?
View Tutorial          By: hiakoto at 2013-02-18 16:15:20

6. Great!
Thnks for your help..

View Tutorial          By: ramu at 2011-06-18 07:56:56

7. Please, if it is incomplete, can you please send m
View Tutorial          By: Marcio at 2009-03-01 09:06:45

8. nice help
View Tutorial          By: Akbar at 2014-06-11 12:44:23

9. Good example but hard to read. Every other word is
View Tutorial          By: Eugene at 2012-03-28 12:19:44

10. Of course you can use this in a web application. A
View Tutorial          By: Ramlak at 2008-09-17 08:24:21