Can method name be same as class name?

Yes, It is allowed to define a method with the same name as that of a class . There is no compile-time or runtime error will occur.27 Haz 2019

Sizin İçin Seçtik  How do I get a full class name?

Leave a Reply

Your email address will not be published. Required fields are marked *