What’s the purpose of keyword new?

new is a Java keyword. It creates a Java object and allocates memory for it on the heap . new is also used for array creation, as arrays are also objects.

Sizin İçin Seçtik  En uzun menzilli elektrikli araç hangisi?

Leave a Reply

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