TechnologyProfessionTest
Sort by
Newest
Most popular
Last review
Filter by
Published
3891
To review
25
TechnologyProfessionTest
Sort by
Newest
Most popular
Last review
Filter by
Published
3891
To review
25
44 questions
Hard
13 votes870 runs0 comment
Easy
7 votes868 runs0 comment
Can a class implements several interfaces ?
Anonymous authorat Mar 28, 2022
Medium
4 votes781 runs2 comments
Medium
4 votes653 runs0 comment
Medium
3 votes418 runs0 comment
Medium
2 votes813 runs3 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.
Anonymous authorat Mar 28, 2023
Medium
2 votes761 runs0 comment
Hard
2 votes750 runs2 comments
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"
Anonymous authorat Mar 28, 2022
Easy
2 votes703 runs0 comment
Medium
2 votes219 runs0 comment
Easy
1 vote701 runs0 comment
Easy
1 vote698 runs0 comment
Easy
1 vote226 runs0 comment
Easy
1 vote218 runs0 comment
Medium
1 vote215 runs0 comment