You can access a class variable using a syntax like objectName.classVariable or ClassName.classVariable
Anonymous Quiz
66%
True
34%
False
A static method in a class can access the instance variables in the same class.
Anonymous Quiz
71%
True
29%
False
You cannot declare a local variable in a method that has same name as an instance variable in the class.
Anonymous Quiz
55%
True
45%
False
👍2
#calss
Which of the following is not OOPS concept in Java?
Which of the following is not OOPS concept in Java?
Anonymous Quiz
59%
Compilation
14%
Polymorphism
11%
Inheritance
16%
Encapsulation
#class
Which of the following is a type of polymorphism in Java?
Which of the following is a type of polymorphism in Java?
Anonymous Quiz
22%
Multilevel polymorphism
30%
Multiple polymorphism
18%
Execution time polymorphism
30%
Compile time polymorphism
#class
When does method overloading is determined?
When does method overloading is determined?
Anonymous Quiz
20%
At execution time
32%
At compile time
32%
At run time
17%
At coding time
#loop
The while loop repeats a set of code while the condition is not met?
The while loop repeats a set of code while the condition is not met?
Anonymous Quiz
51%
True
49%
False
#Methods
What is the process of defining more than one method in a class differentiated by method signature?
What is the process of defining more than one method in a class differentiated by method signature?
Anonymous Quiz
21%
Function doubling
48%
Function overloading
20%
Function overriding
11%
None of the mentioned
👍1
What is the return type of a method that does not return any value?
Anonymous Quiz
12%
int
76%
void
7%
double
5%
float
