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. i want to make java editore in my major project.i
View Tutorial          By: pawan patel at 2012-04-14 11:15:19

2. write the program to convert the following:

View Tutorial          By: belgreen frodo at 2015-03-31 05:53:21

3. HI everyone,
I want to select par

View Tutorial          By: aarthi.s at 2011-09-06 10:09:16

4. really nice and perfect ! thnak you very much for
View Tutorial          By: arash at 2013-07-16 10:58:45

5. Hi,,i try this tutorial,,it working,,but it kind o
View Tutorial          By: Eka Praditya at 2013-07-02 04:11:41

6. HI.....

javax.comm.NoSuchPortExcept

View Tutorial          By: RAHUL at 2010-12-28 22:59:41

7. This site providing excellent knowledge about stru
View Tutorial          By: Bellamkonda at 2009-11-12 02:37:44

8. Hello, I have a problem
I cant understand s

View Tutorial          By: henry at 2012-01-10 07:53:05

9. I am trying to figure out what our Professor did w
View Tutorial          By: Abhishek at 2011-04-09 23:31:28

10. Hi can anyone tell me how to use try catch in comm
View Tutorial          By: Gossip Lanka at 2015-04-26 05:00:44