title: Instantiating Objects & the relation of Child/Parent classes
body: <p>So, I'm trying to understand some concepts here.</p>
  
  <p>1) The general "syntax" (if you will) of creating a new object.  For example, which of the following is "correct" (I know there's more than one way to instantiate an object):</p>
  
  <pre><code>//1) ChildClass obj = new ParentClass();
  
  //2) ParentClass obj = new ChildClass();
  </code></pre>
  
  <p>I know that the following two are "legal," but I can't understand the difference between instantiating an object when it comes to Child/Parent classes</p>
  
  <p>(I already know that these two are okay):</p>
  
  <pre><code>ChildClass obj = new ChildClass();
  ParentClass obj = new ParentClass();
  </code></pre>
  
  <p>2) Basically, what I'm trying to ask is "Which <em>ClassName</em> refers to the class that the object is instantiated from/on (wording? sorry...), and which <em>ClassName</em> does the object belong to?"</p>
  
  <p>My apologies if this doesn't really make sense.  I tried wording it the best I can.</p>
  
  <p>(Some background: I am currently taking the first "course" of Object-Oriented Java)</p>