please answer some basic question
Hello
i want to know answer of some question regarding thread.
1-Which method is used for registering a thread with the thread scheduler ?
2-is it possible to get daemon thread directly?
3-When JVM start up,which thread will be started first?
4-Which thread is not allowed for sleep?
5-Is there a separate stack for each thread in JAVA?
6-Is self thread interruption possible?
if you know the answer of any of the question then please reply
Thanks
Re: please answer some basic question
Here you go.
P.S - Just so you know, we're not a homework service so nobody here is going to do your work for you.
If you have a specific issue on a topic that you're struggling to get to grips with, don't be shy to ask for some tips.
Re: please answer some basic question
Ironically, the top hit for google when I hit newbie's link was the cross-post.
This thread has been cross posted here:
http://www.java-forums.org/new-java/42480-please-answer-some-basic-question-if-you-can.html
Although cross posting is allowed,
for everyone's benefit, please read:
Java Programming Forums Cross Posting Rules
The Problems With Cross Posting
Re: please answer some basic question
Quote:
Originally Posted by
newbie
Here you go.
P.S - Just so you know, we're not a homework service so nobody here is going to do your work for you.
If you have a specific issue on a topic that you're struggling to get to grips with, don't be shy to ask for some tips.
Recently I given some interview then they asked me that Q
Before creating this thread, i searched on Google but i did not find the answer then i joined some forum to get answer,now you are saying that this is homework.
Friend if you knew then you could also just reply in one words that is not a very big homework
Anyway Thanks
Re: please answer some basic question
Sorry Sir
i did not read rule
From now onwards i will follow that
Thanks
Re: please answer some basic question
If they were interview questions and not homework, then apologies but with the way in which you posted, it was an easy mistake to make.
Either way, Google has more then enough information on a majority of those questions, so researching them (thoroughly) yourself would have shown some good faith.