This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Doubts On Threads and Streams Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Doubts On Threads and Streams" Watch "Doubts On Threads and Streams" New topic
Author

Doubts On Threads and Streams

omkar patkar
Ranch Hand

Joined: Aug 25, 2005
Posts: 231
Can Sleep() method Or keywords like Synchronised be used in a class without implementing Runnable or extending Thread? Why ?

How does join() work in threads? can u Please explain their working theortically? How is it different from isAlive() ?

How can we implement various "states" of threads in our prg ? which built-in functions or methods represent these states ?

what is a daemon thread ?

why main must be the last thread to finish executing ? what to do when a java class does not contain main ?

how does presence of other threads in my PC affect my multithreaded java prg.....which is executed in differnet Java runtime Environment?

how do diff Platforms ( Windows, Mac, Linuxetc.,) schedule threads ?

What is a "stream" ?

What is a console?...e.g ???

what does buffer or anything related to buffer mean in IO of Java?

Are streams Objects ?


Thanks and Regards
Omkar Patkar (SCJP 1.4)[url]http://javacollectionsnotes.blogspot.com[/url] | [url]http://omkar-myscjpexp.blogspot.com[/url]
Rick O'Shay
Ranch Hand

Joined: Sep 19, 2004
Posts: 531
Homework Answers:

47
blue
The Rolling Stones
Not if I see you first
101
Hydrogen
The cube root
First rank tensor in three-space
Angelina Jolie

(caution: not necessarily correct answers but answers nevertheless)
[ August 25, 2005: Message edited by: Rick O'Shay ]
Steve Morrow
Ranch Hand

Joined: May 22, 2003
Posts: 657

Can Sleep() method Or keywords like Synchronised be used in a class without implementing Runnable or extending Thread? Why ?

Java's Thread Tutorial

How does join() work in threads? can u Please explain their working theortically? How is it different from isAlive() ?

Java's Thread Tutorial

How can we implement various "states" of threads in our prg ? which built-in functions or methods represent these states ?

Java's Thread Tutorial

what is a daemon thread ?

Java's Thread Tutorial

why main must be the last thread to finish executing ? what to do when a java class does not contain main ?

Java's Thread Tutorial

how does presence of other threads in my PC affect my multithreaded java prg.....which is executed in differnet Java runtime Environment?

Java's Thread Tutorial

how do diff Platforms ( Windows, Mac, Linuxetc.,) schedule threads ?

Java's Thread Tutorial

Also...

JavaWorld: Introduction to Java threads
IBM: Introduction to Java threads
Google: java+threads+tutorial

What is a "stream" ?

The Java� Tutorial - I/O: Reading and Writing (but no 'rithmetic)

What is a console?...e.g ???

The Java� Tutorial - I/O: Reading and Writing (but no 'rithmetic)

what does buffer or anything related to buffer mean in IO of Java?

The Java� Tutorial - I/O: Reading and Writing (but no 'rithmetic)

Are streams Objects ?

Object-Oriented Programming Concepts
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
Rick, I think #5 was "The Titanic".


A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
 
 
subject: Doubts On Threads and Streams