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. i am new to java, please send simple programs, and
View Tutorial          By: jegan at 2011-07-11 02:22:37

2. ""this"" is a implicit keyword
View Tutorial          By: Gangireddy at 2012-02-15 08:35:18

3. hi gud mrng........
i wanna connectivity of

View Tutorial          By: sac at 2011-09-02 04:56:43

4. Excellent !!!
Never thought about it...

View Tutorial          By: RahulC at 2012-07-03 11:36:57

5. can anyone explain the output of this recursive ex
View Tutorial          By: vipul at 2012-08-12 19:41:19

6. This solve my problem to use toString() method. Th
View Tutorial          By: Simon at 2009-07-31 08:56:36

7. I made this "In your AndroidManifest.xml file
View Tutorial          By: lalo at 2011-11-20 05:56:43

8. The example program was very easy to understand un
View Tutorial          By: vijay at 2011-12-27 07:34:35

9. Hi,

I am getting error "Sender

View Tutorial          By: Jose at 2008-05-26 08:17:48

10. Where to use the return type int and how it is use
View Tutorial          By: sohm chakraborty at 2015-07-01 06:52:15