http://forums.thewebhostbiz.com/index.php/good-short-stories-for-essays/ | help on research paper | types of essay organization What is the use of RUNNABLE interface in java?
Results 1 to 5 of 5

Thread: What is the use of RUNNABLE interface in java?

  1. #1
    Join Date
    Aug 2018
    Posts
    17

  2. #2
    Join Date
    Apr 2019
    Posts
    111

    Default

    Runnable interface is a type of functional interface which is designed to provide a common protocol for objects that wish to execute code while they are active.
    ServersBase.Com - sales@serversbase.com
    █ SSD cPanel Web Hosting • LiteSpeed • MariaDB • CloudLinux & MultiPHP!
    Solutions Tailored To Your Requirements For Unbeatable Agility.
    █ Fully Managed Cloud Instances, Daily Backups & Active Monitoring!

  3. #3

    Default

    Runnable is an interface designed to encapsulate some independent unit of work that can run and do something useful and isn’t specifically expected to return a value at the end.

  4. #4

    Default

    Hi Friends,
    Runnable interface is a type of functional interface which is designed to provide a common protocol for objects that wish to execute code while they are active.

    The Runnable interface should be implemented by any class whose instances are intended to be executed by a thread. The class must define a method run. It is used to create thread.

    public void run(): is used to perform action for a thread.

  5. #5
    Join Date
    Jun 2013
    Location
    Forum
    Posts
    1,761

    Default

    Runnable interface is a type of functional interface which is designed to provide a common protocol for objects that wish to execute code while they are active. The Runnable interface should be implemented by any class whose instances are intended to be executed by a thread.
    Cheap VPS Hosting | $1 VPS Hosting
    Windows VPS Hosting | Windows with Remote Desktop Access
    Cheap Dedicated Servers | Linux Dedicated Server Hosting

Similar Threads

  1. What is Java?
    By stuartspindlow in forum Software & Hardware
    Replies: 24
    Last Post: 04-03-2018, 10:00 AM
  2. White space in user interface and interactive website creation...
    By johnwest in forum Web Design Solutions
    Replies: 2
    Last Post: 12-01-2017, 07:28 PM
  3. What is Java?
    By stuartspindlow in forum Web Design Solutions
    Replies: 8
    Last Post: 01-08-2016, 06:41 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •