What is getClass method in Java?

The getClass() method of Writer Class in Java is used to get the parent Class of this Writer instance . This method does not accepts any parameter and returns the required Class details. Syntax: public final Class String getClass()

Sizin İçin Seçtik  How do you cast an object to a String in Java?

Leave a Reply

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