GIDForums  

Go Back   GIDForums > Computer Programming Forums > Java Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 10-May-2017, 23:41
StephenRisley1 StephenRisley1 is offline
New Member
 
Join Date: May 2017
Posts: 2
StephenRisley1 is on a distinguished road
Unhappy

Need this and can't seem to get it. Haven't started yet. Can anyone help?


Write and compile in textpad the following program using this UML Cell Phone - Manufact : String model : String retailprice: double + CellPhone (man: String, mod: string, price: double) +setManufact(man:String): void +setModel(mod:String) void +setretailPrice():void +getManufact(): String +getModel() String +getretailPrice():double After you create the class (in a separate file)

write a program to fill an array of three phones using keyboard. Make sure the program uses methods and loop appropriately. Once the array is full print out the contents of the array one phone per line. You must submit something that compiles, if only a part the program compiles and runs upload the file which does not compile as well for extra credit.
  #2  
Old 11-May-2017, 18:02
TurboPT's Avatar
TurboPT TurboPT is offline
Senior Member
 
Join Date: Feb 2006
Location: Atlanta, GA
Posts: 1,511
TurboPT is a jewel in the roughTurboPT is a jewel in the roughTurboPT is a jewel in the roughTurboPT is a jewel in the rough

Re: Need this and can't seem to get it. Haven't started yet. Can anyone help?


This is not a "do homework for you" site. [though someone here MAY do so, but it would not be typical]

You've been given the general details [properties and method names for the class], more than assignments than I had to do. You should be able to knock-out that task in about two hours, maybe three.
__________________
Use the force...read the source!!
WYCIWYG -- what you code is what you get!
  #3  
Old 11-May-2017, 21:38
StephenRisley1 StephenRisley1 is offline
New Member
 
Join Date: May 2017
Posts: 2
StephenRisley1 is on a distinguished road

Re: Need this and can't seem to get it. Haven't started yet. Can anyone help?


I havent been in any of my classes due to spinal surgery and the professor hits me with this the minute I get back. I have no idea what to do. and i figured someone here would help me through it, hence "Can anyone help?"
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Network Sites: GIDNetwork · GIDApp · GIDBlog · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 05:50.


vBulletin, Copyright © 2000 - 2017, Jelsoft Enterprises Ltd.