GoConqr has a new look! Let us know what you think.

Notes

Thread

nikita14solanki Hibernate Secondary School Admission Test (SSAT) English 1 page

Content of the notes (1)

Page 1

Exam Topics

Create and use the thread class and the Runnable interface

Manage and control thread lifecycle

synchronize thread access to shared data

Identify potential threading problems

the Latin root of the word concurrency means running together. In programming, you can have multiple threads running in parallel in a program executing different tasks at the same time. Therefore it is a powerful and useful feature.

Parallel activities can be implemented as threads: running multiple threads in parallel at the same time is called multi-threading or concurrency.

A java thread can be created in two ways: by extending the thread class or by implementing the Runnable interface. Both of them have a method named run(). JVM will call this method when a thread starts executing.

Information

Description
Secondary School Admission Test (SSAT) Hibernate Note on Thread, created by nikita14solanki on 16/05/2016.
Created by
nikita14solanki · May 2016
Updated
May 17, 2016
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?