
BA345 L
Authored by Oyungerel Delger
Computers
4th Grade
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Үр дүнг гарга
10
20
0
алдаатай
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Үр дүнг гарга.
12
123
321
23
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Класс удамшуулахад ямар түлхүүр үг ашигладаг вэ?
super
extends
this
extent
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
class A
{
int i;
void display()
{
System.out.println(i);
}
}
class B extends A
{
int j;
void display()
{
System.out.println(j);
}
}
class inheritance_demo
{
public static void main(String args[])
{
B obj = new B();
obj.i=1;
obj.j=2;
obj.display();
}
}
0
1
2
3
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
class A
{
int i;
}
class B extends A
{
int j;
void display()
{
super.i = j + 1;
System.out.println(j + " " + i);
}
}
class inheritance
{
public static void main(String args[])
{
B obj = new B();
obj.i=1;
obj.j=2;
obj.display();
}
}
2 2
2 3
3 3
3 2
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
public class Vehicle {
public void move() {
System.out.println("The vehicle moves"); } }
public class Car extends Vehicle {
public void move() { System.out.println("The car moves"); } }
public class Main { public static void main(String[] args) {
Vehicle vehicle = new Car(); vehicle.move(); } }
The vehicle moves
The car moves
The vehicle moves
The car moves
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
class Parent {
String name = "parent";
String message() { return "from parent"; } }
class Child extends Parent {
String name = "child";
String message() { return "from child"; } }
public class Main { public static void main(String[] args) {
Parent p = new Child();
System.out.println(p.name + " " + p.message()); } }
"parent from parent"
"child from child"
"parent from child"
"child from parent"
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
12 questions
AUP
Quiz
•
3rd - 5th Grade
10 questions
FINAL FOR YEAR 3 - 4
Quiz
•
4th Grade
13 questions
Что мы помним по разработке бота дискорд?
Quiz
•
1st - 5th Grade
13 questions
ທົດສອບນັກຮຽນກ່ອນເລີ່ມຮຽນ
Quiz
•
1st - 12th Grade
11 questions
Dasar Jaringan Komputer 1
Quiz
•
1st - 5th Grade
12 questions
Robotics quiz 2
Quiz
•
1st - 12th Grade
8 questions
Popular Video Games!
Quiz
•
1st - 12th Grade
10 questions
Be Internet Awesome! Smart!
Quiz
•
3rd - 5th Grade
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