Report question

Question: How to determine main class at runtime in threaded java application?