• Post Reply Bookmark Topic Watch Topic
  • New Topic

Understanding "new" when creating objects?  RSS feed

 
Fergal Crawley
Greenhorn
Posts: 18
Chrome Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know what the statement below does:



However, I find it difficult to understand how it works in terms of objects and classes. Could anyone please explain how it works or post a link that would help me understand it?

Thanks!
 
Mohamed Sanaulla
Bartender
Posts: 3185
34
Google App Engine Java Ruby
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And also http://docs.oracle.com/javase/7/docs/api/java/lang/System.html#in as to what System.in is
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!