0
Method names run and start
So run() and start() are both fixed method terms as opposed to, e.g., bark() or blow()? I am not sure if they extend all the way back to some Java class and tell the program to do something more concurrently than any other method would. If you specifically mention them in the figure and ask for them in the chart, I'll have to assume so. But their purpose is really not entirely clear.
1 Odpowiedź
+ 1
Since I've worked with Java for android , I know that run and start are methods for a runnable class , it is basically for used for multi threading , the code written in run will run when the start method is invoked .
However this applies for android and may or may not apply for pure Java.