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.
 

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.

Submitter

SUPPORT TOPIC File Information

  • Submitted: Apr 24 2017 01:58 AM
  • Last Updated: Apr 24 2017 04:03 AM
  • File Size: 251.7KB
  • Views: 1727
  • Downloads: 987

Previous Versions

  • 24 Apr 2017 Download Threads - Java Lab - Experiment 10th Solution

Download Threads - Java Lab - Experiment 10th Solution

- - - - -
upestech upes question papers java lab solutions ebooks



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




Other files you may be interested in ..





38 user(s) are online (in the past 15 minutes)

0 members, 36 guests, 0 anonymous users


Bing (2)



Discussion | Topics
Community Guidance
Useful Resources
Connect With Us

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