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. does not work.

output:
./num

View Tutorial          By: praveen at 2012-08-30 19:04:20

2. Hi, You need to place a control on your form

View Tutorial          By: Ranjit at 2010-02-09 02:29:40

3. Hi,
My problem is that how to connect the r

View Tutorial          By: Twahie at 2011-03-21 05:31:06

4. Thanks for the Information. Its very useful
View Tutorial          By: Husain at 2009-03-04 13:30:38

5. i am in beginning level, i tried by this code. but
View Tutorial          By: Shahana Akter at 2014-09-09 10:30:21

6. what are the required equipments to run j2me
View Tutorial          By: messi at 2012-11-13 13:15:18

7. great thanks a lottttttttttttttttt
View Tutorial          By: reshma at 2011-06-13 04:35:44

8. javax.comm.NoSuchPortException
at j

View Tutorial          By: das at 2011-10-20 15:21:05

9. nice one
View Tutorial          By: dhusor at 2012-05-08 17:38:50

10. Thank you I have understood the flow now.
<

View Tutorial          By: Shyam at 2012-05-17 13:14:40