+ 2
A function(method) is not a thread.
You make use of a method to create a new thread. By that I mean to say that you have to override the run() method by either extending the Thread class or implementing the Runnable interface.
By the way a java program by default has only one implicit thread which is the main thread. If you want to run a part of the program concurrently with the main thread then you have to define it explicitly.



