• Post Reply Bookmark Topic Watch Topic
  • New Topic

plz ans this

 
Ajit Amitav Das
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI
Guys , plz ans all these questions


1 > iwant to have have a while lop that wil execute for a maximum of n seconds or until something it gets in inputstream,how wil i do this plz anyone answer this with program,

2 >is it possible to close a browser from an applet,wxpalin with reason.

3 >can garbage collector remove my singleton ,explain with reason.

4 >How can i prevent deassembling class if i develop a commercial product and i don't want to give my sources to a JAD user.

5 >How can i pass a string in dos command line while executing the program and also want to capture the output given by command line in a string.

6 >Explain the diff between two types of threads green threads and native threads.

7 >For what reason thread groups are useful for i don't see any big reason to have them in java api.

8 >The statement i found in a book that "main thread must be the last thread to finish the execution" if i stop the main thread will the main program stop. plz explain with reason and example

9 >When should i use a daemon thread and why should i use instead of using regular thread and wht are the uses of daemon thead.

I wil be immensely thankful to all of them who wil answer these questions,
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's quite a collection of questions, and most of them have nothing to do with I/O and Streams, which is what this forum is all about. You should take the time to post these questions individually in the appropriate forums. Make sure to do a search first, because most of these questions have been asked and answered in the past. You should also read HowToAskQuestionsOnJavaRanch, which will help you get answers to your questions more quickly.
[ January 30, 2006: Message edited by: Ulf Dittmer ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!