![]() Getting constructor information using reflection Java exampleįor example we’ll be using this class TestClass which has one public constructor with 2 args and a private constructor. This is a well-known java interview question, and it may be encountered in the interview of senior java developers with 24 years of experience. Why wait, notify and notifyall are defined in object class instead of thread class. These are public, protected, default (package) access, and private constructors. General knowledge and in-depth knowledge of java programming will help answer this tough core java interview question.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |