PrepAway - Latest Free Exam Questions & Answers

Tag: certkiller com wants you to develop an application that handles passes for certkiller coms parking lot the application has to store and retrieve vehicle information in a contiguous list that allows fo

What is the right output?

Domain.com wants you to develop an application that handles passes for Domain.com’s parking lot.
The application has to store and retrieve vehicle information in a contiguous list that allows for advanced navigation techniques.
You have already written and executed the following code:
Vehicle v1, v2, v3, v4, v5;
v1 = new Vehicle (“1M2567871Y91234574”, “Nissan Silvia”, 1996);
v2 = new Vehicle (“1H2569122493456960”, “Honda Civic”, 1999);
v3 = new Vehicle (“1F2569106891234589”, “Mitsubishi Lancer”, 2001);
v4 = new Vehicle (“1F7969122491234589”, “Mazda MX7”, 1998);
v5 = new Vehicle (“1T2569122493456123”, “Toyota Supra”, 2000);
A = Nissan, Honda, Mitsubishi, Mazda, Toyota
B = Nissan, Mazda, Mitsubishi, Honda, Toyota
C = Nissan, Mazda, Mitsubishi, Toyota, Honda
D = Nissan, Mitsubishi, Mazda, Honda, Toyota
What is the right output?