Question 11 pts The Unified Modeling Language Flag this Question Question 21 pts
ID: 3916929 • Letter: Q
Question
Question 11 pts
The Unified Modeling Language
Flag this Question
Question 21 pts
When you code the dot operator after an object, what can you access?
Flag this Question
Question 31 pts
Flag this Question
Question 41 pts
Flag this Question
Question 51 pts
Flag this Question
Question 61 pts
If you have a class named Vehicle, and you want to code a class named Truck that inherits the Vehicle class, you can begin by writing this code:
Flag this Question
Question 71 pts
The object-oriented programming concept that allows you to define a new class that’s based on an existing class is
Flag this Question
Question 81 pts
Which of the following defines the type of data that an object can store?
Flag this Question
Question 91 pts
Which of the following defines the tasks that an object can perform?
Flag this Question
Question 101 pts
Which of the following defines a constructor that initializes one attribute?
describes the classes and objects of an application Product name price discount Percent getDiscount Ano unt ) getDiscountPrice) getDescription O Book Movie author year getDescription() getDescription)Explanation / Answer
Question 11 pts => The Unified Modeling Language - describes the classes and objects of an application
Question 21 pts => When you code the dot operator after an object, what can you access? - only the public methods of the object
Question 31 pts => Which of the following is true? - The Book and Movie classes inherit the Product class.
Question 41 pts => The getDescription() method of the Book class _________ the getDescription() method of the Product class. - inherits
Question 51 pts => If you create an object from the Movie class, which attribute(s) can you access from that object? - name, price, discountPercent, and year
Question 61 pts => If you have a class named Vehicle, and you want to code a class named Truck that inherits the Vehicle class, you can begin by writing this code: - class Truck extends Vehicle:
Question 71 pts => The object-oriented programming concept that allows you to define a new class that’s based on an existing class is - inheritance
Question 81 pts => Which of the following defines the type of data that an object can store? - data structures
Question 91 pts => Which of the following defines the tasks that an object can perform? - instances of a class
Question 101 pts => Which of the following defines a constructor that initializes one attribute? -
def __init__(name):
this.name = name
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.