Which of the following will directly stop the execution of a Thread? A. wait() B.notify() C.notifyall() D.exits synchronized code

Asked by Last Modified  

17 Answers

Learn Java

Follow 7
Answer

Please enter your answer

Exits synchronized code.
Comments

D
1 Comments

MCA

Exist will stop the execution. remaining methods are used for interthread communications.
Comments

Learn Java Technologies from basic to latest, English Speaking, Memory Techniques

wait
Comments

3.5 years of java experienced developer in IBM

D
Comments

Corporate Training Institute

wait() causes the current thread to wait until another thread invokes the notify() method or the notifyAll() method for this object.
Comments

B.Tech CS working as Software Engineer in product based company

A. wait() causes the current thread to wait until another thread invokes the notify() method or the notifyAll() method for this object
Comments

Trainer

notifyall4
Comments

Industry expert and professional lecturer/trainer

D.exits
Comments

MSC (CS), PGDBA, DOEACC A/O level, ADCST Java Certified, Manual Testing certified, Rational IBM certifies

Oops Sorry it is Option A
Comments

View 15 more Answers

Related Questions

What is a constructor in Java?
In Java, a constructor is a special method that is called when an object is created using the new keyword. It has the same name as the class and is used to initialize the object's state. Constructors play...
Rishu
0 0
5
Is there any difference between Serializalble and Externalizable interface?
http://www.codingeek.com/java/io/differences-serializable-externalizable-interface-java-tutorial
Vathsala
Is it good to go for a Java coaching center and learn Java (with advanced Java) to improve my programming skills?
yes, Please check the Institute reviews and discuss with the tutor, what topics were covered in class. Ask about the practicals session and how many hours/duration of the course.
Gerda
0 0
5
What is 'this' in Java?
this is a keyword in Java. Works as a reference to current object whose constructor is being invoked
SEED Infotech Ltd
When to use transient variables?
To know about transient , first we need to know about serialization concept .serialization makes an object's state persistent . It means that the object is converted into stream and store in a file . For...
Jay

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

COMPILATION AND INTERPRETATION
Compilation and Interpertation Process javac (compiler) java(interpreter)high level code - > compile - > bytecode - > interperted - > machine code Bytecode...

Android : Support multiple themes in an android application
If you are developing a theme based application to enhance user experience, then following steps needs to follow.We are taking example of an android application having 2 themes white and black.Step 1:Define...

Difference Between Checked And Un-Checked Exception
1. Exception is an abnormal condition in the program, if raises program terminates abnormally. 2. Exception always occurs at runtime only, there is no chance of exception at compile time. 3. Syntactical...

Java: A Quick Overview
Not purely Object Oriented: It doesn't support multiple inheritence, it supports primitive data types and static members. Doesn’t support multiple inheritance: Reason is diamond problem i.e.,...

CoreJAVA
Core Java Training High Level Course Content Trained by Java Architect 1. Core Java Programming Introduction of Java 2. Data types and Operators 3. Control Flow statements 4. OOPS and its application...
A

Recommended Articles

Java is the most commonly used popular programming language for the creation of web applications and platform today. Integrated Cloud Applications and Platform Services Oracle says, “Java developers worldwide has over 9 million and runs approximately 3 billion mobile phones”.  Right from its first implication as java 1.0...

Read full article >

Before we start on the importance of learning JavaScript, let’s start with a short introduction on the topic. JavaScript is the most popular programming language in the world, precisely it is the language - for Computers, the Web, Servers, Smart Phone, Laptops, Mobiles, Tablets and more. And if you are a beginner or planning...

Read full article >

Designed in a flexible and user-friendly demeanor, Java is the most commonly used programming language for the creation of web applications and platform. It allows developers to “write once, run anywhere” (WORA). It is general-purpose, a high-level programming language developed by Sun Microsystem. Initially known as an...

Read full article >

In the domain of Information Technology, there is always a lot to learn and implement. However, some technologies have a relatively higher demand than the rest of the others. So here are some popular IT courses for the present and upcoming future: Cloud Computing Cloud Computing is a computing technique which is used...

Read full article >

Looking for Java Training Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you