A)
->if an application has multiple flows of control or multiple independent paths of execution, it is known as a multithreaded application.
->a multithreaded application can perform multiple jobs at the same time (concurrently).
->multithreading is environment dependent.
->in multithreading 2 modifiers are used.
1) Synchronize
2) Volatile
->every time these are not required.
->in java thread is also an object. Thread is nothing but single sequential flow of control in a process.
Comments
Post a Comment