Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
> classname object=new classname(); > > new is a reserve word which shows you are creating a variable (here named object) to store a result. > > Dog doggie = new Dog(); > One new object is created, a Dog object called doggie.
Replies: |
Sponsored Links
|