A programmer spends a great deal of their time using other peoples solutions including predefined solutions which are part of Java. This implies reading their documentation which is always less than perfect! In fact, the documentation is often terrible!! However, rebuilding existing solutions is seldom cost effective and hence using pre-existing solutions is a must for the professional programmer.So lets have a go Write a piece of Java code, which tells you how old you are sounds simple. In other words, you fill the days method (You can use Eclipse to do it if you like), and it outputs:
Clearly, the problem gets more complex as the years progress due to leap years.To write this program you must use Javas calendar classes. Good grief, just look at that documentation!!(ummmm are there other classes that I need to use??? Good question to ponder)Remember programming is actually more about reading than writing, and class Calendar (do I need to know what a Gregorian calendar is?) is certainly an eye-full. |
ECE325
[Solved] ECE 325 Assignment 1-Using Standard Libraries
$25
File Name: ECE_325_Assignment_1-Using_Standard_Libraries.zip
File Size: 423.9 KB
Only logged in customers who have purchased this product may leave a review.
Reviews
There are no reviews yet.