or drag border to resize
Best viewed with Firefox
Bitcoin donation, thank you
1N3GzjrsHJgZFb46X1dHRBWkxvEEdTqsao
Post this site to
JavaLessons.com

Java fundamentals excercises

Java Excercise 14

Can be done following Break

- A class with button and textarea. Add a method that accepts one parameter, a year. Let the method return true if the year is a leap-year and false if it's not. Show the result in the textarea. Leap year algorithm : multiple of 4, but not of 100. Or, multiple of 400. Hardcode the year to be tested.

Use this as your starting point : (double click to select)

Solution

Click in code below to read

JAVALESSONS.COM

Copyright © 2000-2014 System Exclusive & Multi Midi (NL) All rights reserved

Terms, conditions, disclaimer