What is multithreading ???? How to stop multithrading in
java????
Answer / jyothsna ivaturi
An independent sequential path of execution with in a program is called as THREAD.
MULTITHREADING is the proess of execution of two or more threads concurrently at a time.
This process can be stopped in java with the help of synchronization.
SYNCHRONIZATION can be defined as "a shared resource can be used by only a single thread at a time"
| Is This Answer Correct ? | 13 Yes | 0 No |
What is the purpose of final keyword and when to use it?
Can we use string in switch case in java?
Why lambda expression is used in java?
Can a top level class be private or protected?
What is equlas() and hashcode() contract in java? Where does it used?
Explain different ways of creating a thread. Which one would you prefer and why?
What is the difference between && and & in java?
When do we use hashset over treeset?
What is the hashcode () and equals () used for?
What is the difference between compile-time polymorphism and runtime polymorphism?
Does sprintf add a null terminator?
Explain about the security aspect of java?