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. excellent, very clear, thx!!!
View Tutorial          By: ma at 2010-04-07 07:42:47

2. its gud 2 learn java sim prog
View Tutorial          By: Rakesh at 2009-10-04 03:47:01

3. nice and simple information...............
View Tutorial          By: sengadu at 2010-07-24 07:43:29

4. thanks for this example but i want the whether th
View Tutorial          By: Rupesh Chavan at 2010-03-14 07:36:31

5. Cant be compiled, i got error with this msg:. cann
View Tutorial          By: ken at 2011-04-17 04:32:36

6. this is i got error msg when i run a my program .
View Tutorial          By: anbu at 2009-04-08 02:41:17

7. Hi all, i have tried above code, but am getting fo
View Tutorial          By: shalini Iyer at 2008-04-22 01:20:32

8. send java examples of all topics
View Tutorial          By: Ruthraganesh at 2008-06-11 22:06:11

9. two of them are equal and third one is less than b
View Tutorial          By: nani at 2011-10-28 10:55:58

10. Hi
I have final project whit sms program.
View Tutorial          By: AliPour at 2011-09-11 16:51:19