https://github.com/souravcoder1/java-thread
Java Thread
https://github.com/souravcoder1/java-thread
Last synced: 10 months ago
JSON representation
Java Thread
- Host: GitHub
- URL: https://github.com/souravcoder1/java-thread
- Owner: souravCoder1
- Created: 2023-04-10T14:09:44.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-10-08T08:35:23.000Z (over 2 years ago)
- Last Synced: 2025-02-22T22:44:25.959Z (over 1 year ago)
- Language: Java
- Size: 2.65 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme
Awesome Lists containing this project
README
Q) In java multi-threading, a thread can be created by
1 Extending Thread class
2 Implementing Runnable interface
3 Using both(Y)
4 None
Q) Which method is called internally by Thread start() method?
1 execute()
2 run() (Y)
3 launch()
4 main()
Q) Which method must be implemented by a Java thread?
1 run() (Y)
2 execute()
3 start()
4 None