![makaileep1623](/avatars/2247.jpg)
makaileep1623
24.04.2020 •
Computers and Technology
Public class food{ public void eat(){ System.out.println("I am the eat method"); } } public class tuna extends food { public void eat(){ System.out.println("I am the eat tuna method"); } } public class potpie extends tuna { } public class Driver { public static void main(String[] args){ food buffet[]= new food[2]; buffet[0]= new tuna(); buffet[1]= new potpie(); for(int i = 0; i<2; i++) buffet[i].eat(); } } write the answer that best describes the highlighted code.
Solved
Show answers
More tips
- S Style and Beauty How Are Eyelash Extensions Applied? All Your Questions Answered...
- F Family and Home Tender Care for Your Parquet: Is it Possible to Clean Parquet?...
- S Society and Politics Is It Fact or Fiction? Let s Talk About Anton Chekhov s Pseudonym...
- S Sport Playing Bowling: Rules and Advice for Novices...
- C Computers and Internet How to Properly Repartition a Hard Drive?...
- A Auto and Moto What Is the Cost of Customs Clearance for a Car in Russia?...
- L Leisure and Entertainment Should You Buy a Ceramic Knife?...
- C Computers and Internet How to easily and quickly disable Firebug in Gmail and Google Docs...
- G Goods and services How to sew a ribbon: Tips for beginners...
- F Food and Cooking How to Make Mayonnaise at Home? Secrets of Homemade Mayonnaise...
Answers on questions: Computers and Technology
- S SAT Read the passage(s) below and answer the question on the basis of what is stated or implied in the passage(s) and in any introductory material that may be provided. Passage...
- H History Attitudes are on the surface and can easily change. They develop from values and opinions. Please select the best answer from the choices provided ОТ OF...
- M Mathematics Find the errors in this text and correct them. G: Hi, I m so sorry. i arrived too late ... A: You were an hour late, the movie has already started and while I was waiting...
- M Mathematics DUE IN 10 MINS PLEASE HELP...
- M Mathematics Given the y-intercept of (0,19) and the slope of 2/3 write a linear equation...
Ответ: