
MCAB1
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
Sobhana Behera
Used 1+ times
FREE Resource
Enhance your content in a minute
12 questions
Show all answers
1.
OPEN ENDED QUESTION
30 sec • Ungraded
Name
Evaluate responses using AI:
OFF
2.
OPEN ENDED QUESTION
30 sec • Ungraded
Roll No
Evaluate responses using AI:
OFF
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the process of defining two or more methods within same class that have same name but different parameters declaration?
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following Java code? class San { public void m1 (int i,float f) { System.out.println(" int float method"); } public void m1(float f,int i); { System.out.println("float int method"); } public static void main(String[]args) { San s=new San(); s.m1(20,20); } } `
int float method
b) float int method
c) compile time error
d) run time error
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following Java code? class overload { int x; double y; void add(int a , int b) { x = a + b; } void add(double c , double d) { y = c + d; } overload() { this.x = 0; this.y = 0; } } class Overload_methods { public static void main(String args[]) { overload obj = new overload(); int a = 2; double b = 3.2; obj.add(a, a); obj.add(b, b); System.out.println(obj.x + " " + obj.y); } }
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of this keyword can be used in a subclass to call the constructor of superclass?
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these keywords can be used to prevent Method overriding?
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?
Similar Resources on Wayground
15 questions
EDA PARTE 2
Quiz
•
University
7 questions
Data mining-Clustering-1
Quiz
•
University
12 questions
ロジックテスト (Đề kiểm tra năng lực IT)
Quiz
•
University
15 questions
Computer and Other Human Inventions
Quiz
•
University
10 questions
YT-Quiz
Quiz
•
University
10 questions
Servidor Web
Quiz
•
University
10 questions
Quiz-AIML
Quiz
•
University
16 questions
Meet ACM
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
