Are method names case-sensitive Java?

No, Java is case sensitive so it is possible to have two separate methods like foo(String s) and Foo(String s) in the same class.

Leave a Reply

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