Monday, May 10, 2010

Re: [Java] plz help me to do this java

 

1. Read up and figure out your problem. Have you done anything yet? If you are really stuck - NOT telling someone to do your work for you - we'll help.
2. Get a super grade on this assignment.
3. Graduate with honors.

All because you did it mostly yourself!

-Java Guy

-----Original Message-----

From: ÙاÙÙÙÙرد <moon4my@yahoo.com>
Subj: [Java] plz help me to do this java
Date: Fri May 7, 2010 7:02 pm
Size: 16K
To: Java_Official@yahoogroups.com

1-Arrays
Write a program that read in 16 values from the keyboard and store them into a two dimension array (myArray). The program then calculate the sum of every row elements and every column elements an put this sum into elements of two arrays (one for the rows  rowSum and the other for columns- colSum ) ,then the program print the three arrays.

2-ArrayList class
You are to write a simple names book program. A names book contains names of your friends. Store your names book as an ArrayList with entries contains strings that represent the names. Your program must tell you how many friends you have and which one of them has the longest name.

3-Inheritance
Design and draw the UML class diagram of a set of classes that define the employees of a Hospital, the classes are:
HospitalPerson , Doctor and Nurse.
Where HospitalPerson is a supper class, Doctor and Nurse are subclasses.

Design your classes to satisfy the following requirements:
1. Each HospitalPerson has a name and an idNumber.
2. A Doctor has in addition a specialty attribute, while a Nurse has a
maxDutyHours attribute.
3. We want to have a special print (output information) as following:
a. The name and idNumber of a HospitalPerson works for the Hospital.
b. The specialty of a Doctor.
c. The maxDutyHours of a Nurse.






__._,_.___
Recent Activity:
Visit http://aiaiai.com or http://jgame.org for more groups to join.
Java Official Group is created for the following topics: Java 2 Enterprise Edition - J2EE, Java 2 Standard Edition - J2SE, Java 2 Micro Edition - J2ME, XML, XSL, XSD, XPATH, Web Services, Jini, JXTA for all type of Java Geeks.
Whoever posts spam / ads / job related message will be BANNED IMMEDIATELY
MARKETPLACE

Stay on top of your group activity without leaving the page you're on - Get the Yahoo! Toolbar now.


Get great advice about dogs and cats. Visit the Dog & Cat Answers Center.


Hobbies & Activities Zone: Find others who share your passions! Explore new interests.

.

__,_._,___

No comments:

Post a Comment