What is the function of new


#1

i dont undestand the function of new …


#2

first result of a google search:

https://docs.oracle.com/javase/tutorial/java/javaOO/objectcreation.html

very useful information, so new is just part of Java syntax to create an object (instance of a class)


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.