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. Code indentation would help!...
View Tutorial          By: James at 2011-06-30 04:54:51

2. Thanks, you save my day!
View Tutorial          By: ivex at 2015-06-25 20:20:07

3. Hi Prathamesh,
Maybe the COM port to which

View Tutorial          By: Ramlak at 2007-03-19 00:46:49

4. Does memmove care if the source is bytes and the d
View Tutorial          By: Paul at 2012-07-20 11:59:32

5. im biginner of java programming, please give me in
View Tutorial          By: siva at 2011-11-04 06:40:45

6. please send me the code of this movable clock and
View Tutorial          By: dafi at 2008-05-14 05:06:08

7. Unsigned nature of variables
View Tutorial          By: Ganesh Chowdhari at 2008-08-12 06:33:12

8. hai

Please show ByteAraayOutputStre

View Tutorial          By: WebMayuri at 2010-02-10 22:30:01

9. does anyone know what exactly to use to desgn a ph
View Tutorial          By: andrew willy at 2012-01-29 14:51:13

10. it's very good example to understands overloading
View Tutorial          By: Rakesh Sharma at 2011-11-18 06:37:49