
Java quiz-2024-Sec-B
Authored by Shubha V
Computers
University
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
OPEN ENDED QUESTION
1 min • Ungraded
USN
Evaluate responses using AI:
OFF
2.
OPEN ENDED QUESTION
1 min • Ungraded
NAME
Evaluate responses using AI:
OFF
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output of the code give below:
class yes
{
public static void main(String[] args)
{
int Integer = 24;
char String = 'I';
System.out.print(Integer);
System.out.print(String);
}}
24I
24
Compiler error
Runtime Error
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is not a Java feature?
Object-oriented
Use of pointers
Portable
Dynamic and Extensible
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Java Implements Runtime Polymorphism through
method overloading
method overriding
Dynamic method Dispatch
none of the above
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
is used to resolve name space collisions
super
object
This
all of the above
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output of the following code
public void method(double a)
{
System.out.println("Method called");
}
public static void main()
{ method(2);
}
Method called
compilation error
runtime error
none of the above
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?