I have encountered a weird situation today for second time which keeps my mind busy. The problem has started when i looked Matcher class's constructors which are not declared as private. I thought, i can invoke Matcher's constructor in other class with creating object of it. But my IDE has shown the constructors as private. Constructors of Matcher class
And i am wondering why cannot i access those constructors? The second time was in Bitmap class from Android Library. I haven't worked with Matcher or any related class. This is the first time, i am dealing with it. I would be grateful if you guys and ladies can help. Thanks in advance. BTW, I am using IntelliJ Idea as IDE.