+1 vote
in JAVA by
How an object is created in Java?

1 Answer

0 votes
by
We create an object by using the ‘new’ keyword. For instance:

ClassName obj = new ClassName();

Related questions

0 votes
asked Oct 27, 2020 in JAVA by sharadyadav1986
0 votes
asked Oct 27, 2020 in JAVA by sharadyadav1986
...