Instantiating objects in Java

Posted by Davis Naglis on Programmers See other posts from Programmers or by Davis Naglis
Published on 2014-08-22T19:33:09Z Indexed on 2014/08/23 10:34 UTC
Read the original article Hit count: 226

Filed under:
|
|

I'm learning now Java from scratch and when I started to learn about instantiating objects, I don't understand - in which cases do I need to instantiate objects? For example I'm studying from TutsPlus course about it and there is example about "Rectangle" class. Instructor says that it needs to be instantiated. So I started to doubt about - when do I need to instantiate those objects when writing Java code?

© Programmers or respective owner

Related posts about java

Related posts about object