• Post Reply Bookmark Topic Watch Topic
  • New Topic

help me please java class  RSS feed

 
reemas Ali
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi .. please can you help me to anwer this qusetion > should i have to write the set and get method for each class as i did or not!
and what should i write in the main method . please look at my answer!>


question is here

http://www.up-00.com/Vc6mERn8

here is my answer !!!











 
Henry Wong
author
Sheriff
Posts: 23295
125
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
good student wrote:should i have to write the set and get method for each class as i did or not!


I would think that it would be up to you. There is no mention in the assignment on how to set those fields.

good student wrote:
and what should i write in the main method.


It looks like the assignment specifies it -- ie. the statements after "create main method". What is it that you are having trouble with?

Henry
 
Knute Snortum
Sheriff
Posts: 4281
127
Chrome Eclipse IDE Java Postgres Database VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A point on forum etiquette: please UseAMeaningfulSubjectLine. It makes it much easier for people to find your question and help you.
 
Campbell Ritchie
Marshal
Posts: 56570
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch

I have broken your long lines because they make the post difficult to read. You can see how it should be done now.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!