Jump to content

  • twitter
  • youtube

Welcome to UPES - Tech Community | Dehradun


Sign In 

Create Account
Welcome to UPES - Tech Community | Dehradun, like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information for you to signup. Be apart of UPES - Tech Community | Dehradun by signing in or creating an account.
  • Start new topics and reply to others
  • Subscribe to topics and forums to get email updates
  • Get your own profile page and make new friends
  • Send personal messages to other members.
  • Online chat support - 24/7 for your queries,engage with others.
 

Toggle %s About US

UPES - Tech Community helps the students to find study materials for different engineering specialties like mechanical, civil, electrical, computer science and electronics etc.The community is also sharing the year wise question papers of UPES, Dehradun and even comprised up with latest technology aspects, news, events, tutorials and various types of digital gadget reviews.

Photo

Threads - Java Lab - Experiment 10th Solution

upestech upes question papers java lab solutions ebooks

  • Please log in to reply
No replies to this topic

#1 ilLuSion

ilLuSion

    Founder

  • Founder
  • 823 posts
  • 43 thanks
  • LocationDream World

Posted 24 April 2017 - 01:58 AM

File Name: Threads - Java Lab - Experiment 10th Solution

File Submitter: ilLuSion

File Submitted: 24 Apr 2017

File Category: PROGRAMS - CODING MATERIAL


TITLE: Threads

1) Write a program to implement the concept of threading by extending Thread Class and Runnable interface.

2) Write a program for generating 2 threads, one for printing even numbers and the other for printing odd numbers.

3) Write a program to launch 10 threads. Each thread increments a counter variable. Run the program with synchronization.

4) Write a Java program to create five threads with different priorities. Send two threads of the highest priority to sleep state. Check the aliveness of the threads and mark which thread is long lasting


Click here to download this file







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



Discussion | Topics
Community Guidance
Useful Resources
Connect With Us

Copyright © 2018 UPES - Tech Community | Dehradun. All Rights Reserved.