• Post Reply Bookmark Topic Watch Topic
  • New Topic

Return An Array of Car Lots Within Ranges  RSS feed

 
Harry Peters
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm working on a project with several classes. This one is: "LamborghiniDealershipGroup". There is a method I'm trying to complete but I can't figure out the return. I'm actually stuck on lines 20 and 21. How can I finish that part because I'm trying to use that method to get cars that's from the year searched. How would I complete that to get the right return?
 
Junilu Lacar
Sheriff
Posts: 11494
180
Android Debian Eclipse IDE IntelliJ IDE Java Linux Mac Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What have you tried? The method documentation clearly states what it is required to return.
 
Junilu Lacar
Sheriff
Posts: 11494
180
Android Debian Eclipse IDE IntelliJ IDE Java Linux Mac Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How much of that code did you write and how much of it was provided? I ask because the way you phrased your question reveals that you don't understand what the code does. You can't guess when you write programs. You have to understand what each and every line of code does. If you did, you'd know that the answer to this problem is already there.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!