Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

some questions about assignment introductions

 
Kevin Li
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are two questions after I read my assignment introduction.
1. Should I implement the all public method of Data class in GUI?
2. May I change the class name that provided by assignment, in order to make my design more clarity. eg. "Data" to "DataLocalImpl".
 
Bal Sharma
Ranch Hand
Posts: 273
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Question # 1: If you want you could? But why you want to do that? Cann't you use Data class as composition inside your GUI class? Create Data object like Data db = new Data(); and use db what ever you want to do.
#2. Again I am not sure why you want to change supplied class name. I think it will confuse more. Why don't you think about to extend DataLocalImpl from super class as Data?
Hope it helps. -Bal
 
Kevin Li
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bal Sharma,
My first question means whether I need provide maintain FlightInfo function in GUI, like add(), del()...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic