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



Comment Added by : Jai Shankar K

Comment Added at : 2012-04-08 10:15:56

Comment on Tutorial : The switch Statement example in Java By Kamini
why it is( ((year % 4 == 0) && !(year % 100 == 0)) || (year % 400 == 0) ) we can only only (year % 4 == 0) right, and also if u give year 100 or 200 is showing only 28days, thats wrong... if u write only (year % 4 == 0) this much it shows perfectly...

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. Nice example..i m working on android and i want to
View Tutorial          By: Pranav at 2012-04-25 07:00:48

2. Very good example! Thanks so much!
View Tutorial          By: Chrissy at 2010-04-14 22:37:56

3. This the very good introduction to the J2ME for th
View Tutorial          By: chetan jain at 2010-04-01 06:39:32

4. (i'm a senior PHP programmer, but a newbie in JSP,
View Tutorial          By: LOL at 2013-03-22 08:57:21

5. Thank you... I have the same problem , I have date
View Tutorial          By: makoy at 2012-01-16 09:06:34

6. in this matter i get also this exception :

View Tutorial          By: oded at 2008-09-28 05:41:35

7. Hi,
Please give the better example of resou

View Tutorial          By: Keerthi at 2012-01-11 11:28:24

8. import java.util.*;

public class de

View Tutorial          By: Virudada at 2012-05-05 06:27:22

9. This is good for beginners.
View Tutorial          By: sathish at 2011-04-05 11:37:30

10. The code gives the following exception :-
<

View Tutorial          By: anju at 2014-03-15 07:02:18