Only anser if you know 100% of the questions. I will research your answers and o
ID: 3547937 • Letter: O
Question
Only anser if you know 100% of the questions. I will research your answers and only reward points to the person with 100% correct.
Multiple choice questions:
1-As part of a bank account implementation, there is an account class and a checking account class.. These two classes
should be related by:
a)abstract classes
b)composition
c)inheritance
d)both composition and inheritance
e)polymorphism
2-When using OOP, which of the following terms refers to a mechanism for a behavior, basically how it
Explanation / Answer
1. c)inheritance
2. a)polymorphism
3. a)Use square brackets around an index value.
4. c)Use the ArrayList's get() method.
5. d)an event
6. d)All of the above
7. b)actionPerformed with an actionEvent parameter
8. c)JFrame
9. a)sorting
10. b)FlowLayout
11. b)FlowLayout
12. True
13. True
14. True
15. True
16. True
17. False
18. System.out.println("6th element: " + priceList[5]);
19. ArrayList<Double> stocks = new ArrayList<Double>();
20. final double[] myNumbers = new double[5]
fiinal String[] myNames = new String[5];
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.