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 languages are pass by reference?
What technique is carried out to find out if a particular string is empty?
How many static init can you have?
Why local variables are stored in stack?
Explain about fail safe iterators in java?
What are different access specifiers in java? Explain
what is the difference between future and callable interface in java?
What is the instance of an object?
why marker interfaces are there in java
how to get the max salary and name of employee from arraylist without using the Comperator or even Comparable interface?
Write a program based on Java script program.
Explain the Propertie sof class?