Discover
Questions library
Collections library
Find online teacher
login
Discover
questions library
Find online teacher
login
Popular searches:
if-else
class-diagram
flowchart
Polymorphism
Home
Questions
Questions
Study lists
Mohamad Eskandarane Questions
11022 Questions
Which among the following is true for upcasting in inheritance?
c# programming
C++ programming
Java programming
2022-06-29
Answers
30
Question
40
Followers
30
0
1
445
What is upcasting?
c# programming
C++ programming
Java programming
2022-06-29
Answers
30
Question
40
Followers
30
0
1
418
Which is a good alternative instead of having one zero argument constructor and one single argument constructor with default argument?
c# programming
C++ programming
Java programming
2022-06-29
Answers
30
Question
40
Followers
30
0
1
511
Which is the correct statement for default constructors?
c# programming
C++ programming
Java programming
2022-06-29
Answers
30
Question
40
Followers
30
0
1
495
If there is a constructor with all the default arguments and arguments are not passed then _________________
c# programming
C++ programming
Java programming
2022-06-29
Answers
30
Question
40
Followers
30
0
1
529
Which constructor definition will produce a compile time error?
c# programming
C++ programming
Java programming
2022-06-29
Answers
30
Question
40
Followers
30
0
1
498
Which constructor among the following will be called if a call is made like className(5,’a’);?
c# programming
C++ programming
Java programming
2022-06-29
Answers
30
Question
40
Followers
30
0
1
855
Which among the following is true ?
c# programming
C++ programming
Java programming
2022-06-29
Answers
30
Question
40
Followers
30
0
1
432
If the constructors are overloaded by using the default arguments, which problem may arise?
c# programming
C++ programming
Java programming
2022-06-29
Answers
30
Question
40
Followers
30
0
1
483
How many parameters must be passed if only the following prototype is given to a constructor?
c# programming
C++ programming
Java programming
2022-06-29
Answers
30
Question
40
Followers
30
0
1
461
Which is the correct syntax for using default arguments with the constructor?
c# programming
C++ programming
Java programming
2022-06-29
Answers
30
Question
40
Followers
30
0
1
475
Can a class have more than one function with all the default arguments?
c# programming
C++ programming
Java programming
2022-06-29
Answers
30
Question
40
Followers
30
0
1
603
Which among the following can be used in place of default constructor?
c# programming
C++ programming
Java programming
2022-06-29
Answers
30
Question
40
Followers
30
0
1
585
Total:
11022
Previous
161
162
163
164
165
Next
Go