Bissoy.com
Login
Doctors
Medicines
MCQs
Q&A
Ask
Merit Test
Questions
Courses
Analyze the following code: public abstract class Test implements Runnable{ public void doSomething() { }; }?
The program will not compile because it does not implement the run() method.
The program will not compile because it does not contain abstract methods.
The program compiles fine.
None of the above
LohaHridoy
0
Edit
5
views
2025-01-04 04:42
1
Answers
AhmedNazir
Answer: Option 3
0
Thanks
5
views
Answered
2022-09-01 13:21
Report
Edit
Call
Related Questions
The following program: public class Test{ static boolean isOK; public static void main(String args[]){ System.out.print(isOK); } }?
1 Answers
4
Views
class MyClass{ MyClass(){ System.out.print("one"); } public void myMethod(){ this(); System.out.print("two"); } } public class TestClass{ public static void main(String args[]){ MyClass obj = new MyClass(); obj.myMethod(); } }?
1 Answers
6
Views
Determine output of the following code. interface A { } class C { } class D extends C { } class B extends D implements A { } public class Test extends Thread{ public static void main(String[] args){ B b = new B(); if (b instanceof A) System.out.println("b is an instance of A"); if (b instanceof C) System.out.println("b is an instance of C"); } }?
1 Answers
10
Views
Analyze the following code: public class Test implements Runnable{ public static void main(String[] args){ Test t = new Test(); t.start(); } public void run() { } }?
1 Answers
6
Views
Analyze the following code: public class Test implements Runnable{ public static void main(String[] args){ Test t = new Test(); } public Test(){ Thread t = new Thread(this); t.start(); } public void run(){ System.out.println("test"); } }?
1 Answers
4
Views
Predict the output: public class Test extends Thread{ private int i; public void run(){ i++; } public static void main(String[] args){ Test a = new Test(); a.run(); System.out.print(a.i); a.start(); System.out.print(a.i); } }?
1 Answers
10
Views
The given chart shows the number of students in Class 4, Class 5, Class 6 and Class 7 who got first class, second class and failed in the final examinations. Which class has the least number of students who passed?
1 Answers
5
Views
The given chart shows the number of students in Class 4, Class 5, Class 6 and Class 7 who got first class, second class and failed in the final examinations. What is the pass percentage of Class 4?
1 Answers
4
Views
The given chart shows the number of students in Class 4, Class 5, Class 6 and Class 7 who got first class, second class and failed in the final examinations. What is the pass percentage of Class 6?
1 Answers
5
Views
The given chart shows the number of students in Class 4, Class 5, Class 6 and Class 7 who got first class, second class and failed in the final examinations. Which class has the highest number of students who passed?
1 Answers
5
Views
কোরআন
হাদিস
চাকুরি প্রস্তুতি
বিশ্ববিদ্যালয় ভর্তি
মেডিকেল SBA
12
এইচএসসি
10
এসএসসি
8
জেএসসি
এক্সাম দিয়ে মেধা যাচাই করুন
Job Preparation (1125)
Admission (754)
এসএসসি (10)
এইচএসসি (5)
Login Required
You need to log in to continue.
Login
Cancel
Download Required
You need to download the app to make a call.
Download
Cancel