Job offers
Companies
Tests
Blog
I'm an employer
Sign up
Log in
Group 2@2x
Created with Sketch.
Home
>
Users
>
Samuel
Samuel
Contribution
162
Contributions
18375
Contributions played
Tests
4
Tests completed
60
Questions completed
Achievements
+2
Profile
Tests
Contributions
Profile
Tests
Contributions
Achievements
Submit a new question
or
see all questions
Easy
19
Medium
38
Hard
19
Expert
4
Technology
Profession
Test
Sort by
Newest
Most popular
Last review
Filter by
Published
80
Not published
0
To review
0
Published
To review
Newest
Filters
Easy
19
Medium
38
Hard
19
Expert
4
Technology
Profession
Test
Sort by
Newest
Most popular
Last review
Filter by
Published
80
Not published
0
To review
0
Cancel
80 questions
1
2
3
4
Hard
9 votes
590 runs
0 comment
Overrided method visibility must be the same or less restrictive than the inherited method.
IT Architect
OOP
visibility
inheritance
at Mar 28, 2022
Easy
8 votes
611 runs
0 comment
Inheritance in OOP.
IT Architect
OOP
inheritance
methods
at Mar 28, 2022
Easy
5 votes
601 runs
0 comment
Can a class implements several interfaces ?
IT Architect
OOP
interfaces
inheritance
at Mar 28, 2022
Medium
4 votes
572 runs
1 comment
When can you do a+b in OOP ?
IT Architect
OOP
operator overloading
classes
at Mar 28, 2022
Hard
4 votes
198 runs
0 comment
Write a C++ class with a constructor that takes two arguments.
Back-end developer
constructor
inheritance
at Mar 28, 2022
Medium
3 votes
514 runs
0 comment
Explain the difference between overriding and overloading in OOP.
IT Architect
OOP
methods
inheritance
at Mar 28, 2022
Hard
3 votes
368 runs
0 comment
Which statement concerning constructors is false ?
Back-end developer
constructors
attributes
at Mar 28, 2022
Easy
2 votes
489 runs
0 comment
Encapsulation rule in Object-Oriented Programming
IT Architect
OOP
encapsulation
classes
at Mar 28, 2022
Medium
2 votes
478 runs
0 comment
Overloading an operator in OOP
IT Architect
OOP
operators
classes
at Mar 28, 2022
Medium
2 votes
297 runs
1 comment
How to distinguish a parameter of a method from an attribute of the class in C++
Back-end developer
c++
method
attribute
at Mar 28, 2022
Easy
2 votes
292 runs
0 comment
Which type should you use to represent a data list with a length that can change ?
Back-end developer
array
vector
at Mar 28, 2022
Medium
1 vote
556 runs
2 comments
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.
IT Architect
OOP
inheritance
polymorphism
at Mar 28, 2023
Easy
1 vote
521 runs
0 comment
How to instantiate objects with a type which is derivated from an abstract type in OOP
IT Architect
OOP
design pattern
abstract
at Mar 28, 2022
Hard
1 vote
514 runs
1 comment
What does the following code return ? public class A { public void talk() { echo "I am A" } public secretTalk() { this.talk() } } public class B extends A { private void talk() { echo "I am B" } public secretTalk() { this.talk() } } A b = new B() b.talk() b.secretTalk() Answer : "I am A" "I am B"
IT Architect
OOP
inheritance
overriding
at Mar 28, 2022
Easy
1 vote
481 runs
0 comment
How to apply the principle of encapsulation in OOP?
IT Architect
OOP
encapsulation
visibility
at Mar 28, 2022
Medium
1 vote
324 runs
0 comment
A child class B of an abstract class A must define the abstract methods of A.
IT Architect
OOP
abstract
class
at Mar 28, 2022
Medium
1 vote
308 runs
1 comment
The operator + has been defined for Complexe objects thanks to an intern overloading.
Back-end developer
operators
overloading
at Mar 5, 2024
Expert
1 vote
287 runs
0 comment
Write a C++ program that uses static variables.
Back-end developer
static
constructor
destructor
at Mar 28, 2022
Medium
1 vote
281 runs
0 comment
Which statement concerning the line ": rectangle(h, l), couleur(c)" is true ? class Rectangle {...} class Couleur {...} class RectangleColore { RectangleColore(double h, double l, Couleur c) : rectangle(h, l), couleur(c) {...} private: Rectangle rectangle; Couleur couleur; }
Back-end developer
constructors
initializer list
at Mar 28, 2022
Hard
1 vote
279 runs
0 comment
In C++, it is possible to give a default value to a parameter of a function and two functions can have the same name if their signatures are different but not only different on the return type.
Back-end developer
functions
parameters
return type
at Mar 28, 2022
Samuel
Samuel
Samuel
Samuel
Samuel
Samuel
Samuel
Samuel
Samuel
Samuel
Samuel
Samuel
Samuel
Samuel
Samuel
Samuel
Samuel
Samuel
Samuel
Samuel