Bissoy.com
Login
Doctors
Medicines
MCQs
Q&A
Ask
Merit Test
Questions
Courses
Which keyword when applied on a method indicates that only one thread should execute the method at a time.?
volatile
synchronized
native
static
final
LohaHridoy
0
Edit
4
views
2025-01-04 04:42
1
Answers
AhmedNazir
Answer: Option 2
Let'
0
Thanks
4
views
Answered
2022-09-01 13:21
Report
Edit
Call
Related Questions
When a class extends the Thread class ,it should override ............ method of Thread class to start that thread.?
1 Answers
5
Views
PHP makes it possible to automatically execute code when a new instance of a class is created, using a special class method called a ........ ?
1 Answers
4
Views
What will be the output class A{ static void method(){ System.out.println("Class A method"); } } class B extends A{ static void method(){ System.out.println("Class B method"); } } public class Test{ public static void main(String args[]){ A a = new B(); a.method(); } }?
1 Answers
5
Views
What will be the output interface A{ public void method(); } class One{ public void method(){ System.out.println("Class One method"); } } class Two extends One implements A{ public void method(){ System.out.println("Class Two method"); } } public class Test extends Two{ public static void main(String[] args){ A a = new Two(); a.method(); } }?
1 Answers
13
Views
What will be the output of the following program code public class Test implements Runnable{ public static void main(String[] args){ Thread t = new Thread(this); t.start(); } public void run(){ System.out.println("test"); } }?
1 Answers
150
Views
What will be the output after compiling and executing the following code public class Test implements Runnable{ public static void main(String[] args) throws InterruptedException{ Thread a = new Thread(new Test()); a.start(); System.out.print("Begin"); a.join(); System.out.print("End"); } public void run(){ System.out.print("Run"); } }?
1 Answers
10
Views
What will be output of the following program code public class Test implements Runnable{ public void run(){ System.out.print("go"); } public static void main(String arg[]) { Thread t = new Thread(new Test()); t.run(); t.run(); t.start(); } }?
1 Answers
18
Views
Given the code. What will be the result public class Test implements Runnable{ public static void main(String[] args) throws InterruptedException{ Thread a = new Thread(new Test()); a.start(); System.out.print("Begin"); a.join(); System.out.print("End"); } public void run(){ System.out.print("Run"); } }?
1 Answers
9
Views
Directions : Following question consists of a statement followed by four arguments I, II, III and IV. You have to decide which of the arguments is a STRONG arguments and which is a WEAK Argument. Statement : Should all those who are convicted for heinous crimes like murder or rape, beyond all reasonable doubts be given capital punishment or death penalty Arguments : I. No. The death penalty should be given only in very rare and exceptional cases. II. Yes. This is the only way to punish such people who take others' lives or indulge in inhuman activities. III. Yes. Such severe punishments only will make people refrain from such heinous acts and the society will be safer. IV. No. Those who are repentant for the crime they committed should be given a chance to improve and lead a normal life.?
1 Answers
4
Views
Which of the following screw thread is used for power transmission in one direction only?
1 Answers
4
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