Medium
Let A be a class, a et b two objects of type A, when can you make a+b ?
Author: SamuelStatus: PublishedQuestion passed 517 times
Edit
4
Community Evaluations
Auteur anonyme
31/03/2024
French / english typo.
Let A be a class, a (**et ** should be **and**) b two objects of type A, when can you make a+b ?
Similar QuestionsMore questions about OOP
8
Overrided method visibility must be the same or less restrictive than the inherited method.7
Inheritance in OOP.4
Can a class implements several interfaces ?2
Explain the difference between overriding and overloading in OOP.1
In this code, the class B extends the class A. The class B overrides the method talk() from the class A. The object b is an instance of the class B. The object a is an instance of the class A. The object a is assigned to the object b. The object a calls the method talk(). The method talk() from the class B is called.