what is use of threads how many ways to create thread
Answer Posted / subash chandra bose l
there are many uses of threads and the main use is to
execute several process at once.
there are two ways of creating a thread and
1. extending a Thread class
2. implementing Runnable interface
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
What is the purpose of using bufferedinputstream and bufferedoutputstream classes?
What are synchronized methods and synchronized statements in java programming?
Can list have duplicates in java?
What is the purpose of checked and unchecked exceptions in JAVA?
How does a cookie work in Servlets?
What is instanceof keyword?
What is method overloading in java ?
What data type is string java?
What is boolean flag in java?
Can you sort a string in java?
What is difference between fileinputstream and filereader in java?
FOR EXAMPLE WE R HAVING TWO LIST ELEMENTS ..BOTH LISTS CONTAINS ID,NAME,PLACE ..I NEED TO COMPARE BOTH IDS IN TWO LISTS,IF ID'S R SAME MEANS WE HAVE ADD THE DETAILS(LIKE NAME,PLACE) TO MAP...HOW IS POSSIBLE ?CAN ANY ONE SUGGEST?
what is difference between equals and ==?
Is java pass by value or pass by reference?
Hi friends am new to java. I read jar file means collection of java files. For executing struts application what are the necessary jar files. " struts.jar " file contains what. can u explain