Answer:
Step-by-step explanation:
The following code is written in Java and assumes that the available main class is the Restaurant class and that the other objects are all from the Restaurant class or a subclass of it.
2) Restaurant bestdessertplace = new Restaurant();
Restaurant bestindianfood = new Restaurant();
3) This snippet of code creates 3 individual objects which are bestIndianFood, bestSushi, bestCoffeeShop.
4) bestSushi.name = "Sushi Station";
5) System.out.println(bestCoffeeShop.name + " " + bestCoffeeShop.rating);