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
18166
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
18
Medium
39
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
18
Medium
39
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
Easy
8 votes
606 runs
0 comment
Inheritance in OOP.
IT Architect
OOP
inheritance
methods
at Mar 28, 2022
Hard
8 votes
584 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
5 votes
597 runs
0 comment
Can a class implements several interfaces ?
IT Architect
OOP
interfaces
inheritance
at Mar 28, 2022
Medium
4 votes
568 runs
1 comment
When can you do a+b in OOP ?
IT Architect
OOP
operator overloading
classes
at Mar 28, 2022
Hard
4 votes
196 runs
0 comment
Write a C++ class with a constructor that takes two arguments.
Back-end developer
constructor
inheritance
at Mar 28, 2022
Hard
3 votes
364 runs
0 comment
Which statement concerning constructors is false ?
Back-end developer
constructors
attributes
at Mar 28, 2022
Medium
2 votes
511 runs
0 comment
Explain the difference between overriding and overloading in OOP.
IT Architect
OOP
methods
inheritance
at Mar 28, 2022
Medium
2 votes
475 runs
0 comment
Overloading an operator in OOP
IT Architect
OOP
operators
classes
at Mar 28, 2022
Medium
2 votes
293 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
288 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
552 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
Hard
1 vote
508 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
484 runs
0 comment
Encapsulation rule in Object-Oriented Programming
IT Architect
OOP
encapsulation
classes
at Mar 28, 2022
Easy
1 vote
477 runs
0 comment
How to apply the principle of encapsulation in OOP?
IT Architect
OOP
encapsulation
visibility
at Mar 28, 2022
Medium
1 vote
304 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
283 runs
0 comment
Write a C++ program that uses static variables.
Back-end developer
static
constructor
destructor
at Mar 28, 2022
Medium
1 vote
277 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
275 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
Easy
1 vote
271 runs
0 comment
Write a C++ program that displays a memory address.
Back-end developer
memory
pointers
at Mar 28, 2022
Easy
1 vote
269 runs
0 comment
Write a C++ program to add two complex numbers.
Back-end developer
operators
classes
at Mar 28, 2022
Samuel
Samuel
Samuel
Samuel
Samuel
Samuel
Samuel
Samuel
Samuel
Samuel
Samuel
Samuel
Samuel
Samuel
Samuel
Samuel
Samuel
Samuel
Samuel
Samuel