You’re looking forward to the break, so you’re planning a…

Question Answered step-by-step You’re looking forward to the break, so you’re planning a… You’re looking forward to the break, so you’re planning a celebratory outing. To do so, assume that you have already written a Restaurant class, that stores the price (as a Double) and cuisine (as a String) of a restaurant. Furthermore, assume that the Restaurant class had a parameterized constructor to set both of these values. You’re starting to think that maybe you want to consider something lighter to eat; something more like a cafe. In fact, you’re looking explicitly for a cafe that has board games available. Now, write  simple Cafe class that inherits from a Restaurant class. In addition to what the Restaurant class stores, include a Boolean in your Cafe class to indicate if it has board games. Also, write  getAl1 () method that returns an array with all of the fields. Given that we’re inheriting, be sure to include any annotations. Computer Science Engineering & Technology Java Programming CSCI MISC Share QuestionEmailCopy link Comments (0)