What are the two ways of implementing multi-threading in java?
Multi threaded applications can be developed in Java by using any of the following two methodologies:
1. By using Java.Lang.Runnable Interface. Classes implement this interface to enable multi threading. There is a Run() method in this interface which is implemented.
2. By writing a class that extend Java.Lang.Thread class.
| Is This Answer Correct ? | 0 Yes | 0 No |
What was java originally called?
How the elements are organized in CardLayout?
Is assembly language a low level language?
How are multiple inheritances done in Java?
What are the differences between heap and stack memory in java?
What modifiers are used for interface declaration?
Which is faster set or list in java?
what is the difference between HashMap And HashTable?
What is a reflection package?
What is the order of method invocation in an Applet?
What does \ mean in regex?
Is object a data type?