13.3 Multithreading using Runnable Interface

Опубликовано: 24 Ноябрь 2016
на канале: Telusko
308,206
2.8k

In computer science, a thread of execution is the smallest sequence of programmed instructions that can be managed independently by a scheduler, which is typically a part of the operating system.
Multithreading in java is a process of executing multiple activities can proceed concurrently in the same program.
Thread is basically a lightweight sub-process, a smallest unit of processing.
In multithreading threads share a common memory area.
They don't allocate separate memory area so saves memory, and context-switching between the threads takes less time than process.

Multiple threads can exist within the same process and share resources such as memory, while different processes do not share these resources.
Using two different task at the same time means multi-tasking. Thread is unit of a process.

Check out our website: http://www.telusko.com

Follow Telusko on Twitter:   / navinreddy20  

Follow on Facebook:
Telusko :   / teluskolearnings  
Navin Reddy :   / navintelusko  

Follow Navin Reddy on Instagram:   / navinreddy20  

Subscribe to our other channel:
Navin Reddy :    / @navinreddy  
Telusko Hindi :
   / @teluskohindi  

Subscribe to the channel and learn Programming in easy way.

Java Tutorial for Beginners : https://goo.gl/p10QfB

Scala Tutorials for Java Developers : https://goo.gl/8H1aE5

C Tutorial Playlist : https://goo.gl/8v92pu

Android Tutorial for Beginners Playlist : https://goo.gl/MzlIUJ

XML Tutorial : https://goo.gl/Eo79do

Design Patterns in Java : https://goo.gl/Kd2MWE

Socket Programming in Java : https://goo.gl/jlMEbg

Spring MVC Tutorial : https://goo.gl/9ubbG2

OpenShift Tutorial for Beginners : https://goo.gl/s58BQH

Spring Framework with Maven : https://goo.gl/MaEluO

Sql Tutorial for Beginners : https://goo.gl/x3PrTg

String Handling in Java : https://goo.gl/zUdPwa

Array in Java : https://goo.gl/uXTaUy

Java Servlet : https://goo.gl/R5nHp8

Exception Handling in Java : https://goo.gl/N4NbAW


Смотрите видео 13.3 Multithreading using Runnable Interface онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Telusko 24 Ноябрь 2016, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 308,20 раз и оно понравилось 2.8 тысяч людям.