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. Rattling explanation .....thnx brother
View Tutorial          By: zorro at 2011-06-16 05:05:43

2. It's very very useful for me. thank you.
View Tutorial          By: thirumalai at 2009-01-28 03:25:25

3. When run this code then I am getting a blank page.
View Tutorial          By: Paritosh Chandra Dey at 2013-08-14 08:55:42

4. hey. How would i get the ClientLists displayed in
View Tutorial          By: andrew at 2009-07-24 14:10:24

5. it would be very helpful if you demonstrated how t
View Tutorial          By: newcoder at 2011-10-24 17:40:25

6. this is WRONG!

your IF should be:
View Tutorial          By: notnooblikeyou at 2013-01-29 15:11:30

7. Hello,
i was run your given program in ecli

View Tutorial          By: vishnu chauhan at 2013-01-24 11:42:16

8. Pl send some sample program for speech to text wit
View Tutorial          By: gokul at 2012-09-27 10:28:19

9. Can please send me codes to pass strings or text f
View Tutorial          By: bryan at 2009-12-29 05:59:21

10. Can you explain with increment and decrement opera
View Tutorial          By: Sathish Kumar at 2013-09-01 07:40:42