Question: Question 14 1 pts Given the Transportation is a class, how many objects and how many reference variables are created by the following three lines
Question 14 1 pts Given the Transportation is a class, how many objects and how many reference variables are created by the following three lines of codes? Transportation bus, train; train = new Transportation ("Tri-Rail"); Transportation plane = new Transportation ("Jet Blue"); No answer text provided. There are three objects (bus, train and plane), and three reference variables (train, a There are three objects (bus, train and plane), and two reference variables (train, Transportation, and plane) There are no reference variables only three objects There are three objects (bus, train and plane), and two reference variables (train and plane) There are three reference variables (bus, train and plane), and two objects created by (train and plane) 1 pts D Question 15
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
