Which among the following doesn’t come under OOP concept?
Anonymous Quiz
12%
Data hiding
33%
Message passing
43%
Platform independent
12%
Data binding
👍1
Which feature of OOP indicates code reusability?
Anonymous Quiz
13%
Abstraction
23%
Polymorphism
13%
Encapsulation
51%
Inheritance
❤1🔥1
Which feature of OOP is exhibited by the function overriding?
Anonymous Quiz
52%
Polymorphism
17%
Encapsulation
14%
Abstraction
17%
Inheritance
Which of the following is not true about polymorphism?
Anonymous Quiz
23%
Helps in redefining the same functionality
40%
Increases overhead of function definition always
17%
It is feature of OOP
21%
Ease in readability of program
❤1
Which among the following can show polymorphism?
Anonymous Quiz
40%
Overloading &&
22%
Overloading <<
17%
Overloading ||
21%
Overloading +=
In which access should a constructor be defined, so that object of the class can be created in any function?
Anonymous Quiz
22%
Any access specifier will work
16%
Private
57%
Public
4%
Protected
❤🔥4
When does method overloading is determined?
Anonymous Quiz
33%
At run time
46%
At compile time
9%
At coding time
12%
At execution time
Which concept of Java is achieved by combining methods and attribute into a class?
Anonymous Quiz
49%
Encapsulation
23%
Inheritance
17%
Polymorphism
10%
Abstraction
What is it called if an object has its own lifecycle and there is no owner?
Anonymous Quiz
30%
Aggregation
25%
Composition
27%
Encapsulation
18%
Association
What is it called where child object gets killed if parent object is killed?
Anonymous Quiz
32%
Aggregation
24%
Composition
29%
Encapsulation
14%
Association
👍1
What is the process of defining more than one method in a class differentiated by
Anonymous Quiz
29%
Function overriding
58%
Function overloading
7%
Function doubling
6%
None of the mentioned
Which of the following is a valid declaration of an object of class Box?
Anonymous Quiz
62%
Box obj = new Box();
13%
Box obj = new Box;
20%
obj = new Box();
5%
new Box obj;
Which of these operators is used to allocate memory for an object?
Anonymous Quiz
46%
malloc
23%
alloc
29%
new
2%
give
Which of these statement is incorrect?
Anonymous Quiz
31%
Every class must contain a main() method
26%
Applets do not require a main() method at all
23%
There can be only one main() method in a program
19%
main() method must be made public
What is the return type of a method that does not return any value?
Anonymous Quiz
8%
int
6%
float
80%
void
6%
double
👍1
Free Python Ebook 📚
I uploaded a Python ebook on my LinkedIn (Checkout 👇)
https://www.linkedin.com/in/yadnyesh-patil-803027222
Also Follow me on Linkdin for more Notes & Ebooks 😍
I uploaded a Python ebook on my LinkedIn (Checkout 👇)
https://www.linkedin.com/in/yadnyesh-patil-803027222
Also Follow me on Linkdin for more Notes & Ebooks 😍
👍1
Which exception is thrown when java is out of memory?
Anonymous Quiz
10%
MemoryError
22%
OutOfMemoryError
55%
MemoryOutOfBoundsException
12%
MemoryFullException
Which of the following is a superclass of every class in Java?
Anonymous Quiz
8%
ArrayList
38%
Abstract class
44%
Object class
9%
String
Which of these are selection statements in Java?
Anonymous Quiz
14%
break
26%
continue
22%
for()
38%
if()