Can you use == for char in Java?

Yes, char is just like any other primitive type, you can just compare them by == .

Sizin İçin Seçtik  What does objects hash do in Java?

Leave a Reply

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

Can you use == for char in Java?

Yes, char is just like any other primitive type, you can just compare them by == .

Sizin İçin Seçtik  Can you use == to compare strings in Java?

Leave a Reply

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