title: Primitive type and reference type objects
body: <p>I have an exam question from a past paper that I'm trying to answer:</p>
  
  <p>Discuss variables of type primitive, reference and static in the context of a programming language. Give suitable examples [8].</p>
  
  <p>The answer I have so far is:</p>
  
  <p>A primitive type is an object which the language has given a predefined value. These types include int, bool and float. Reference type objects refer to these primitive types in a particular sequence when instantiated. Examples of these are strings and arrays. The static keyword, when assigned to a variable, means that there is only one instance of this variable and the value assigned applies to all references of the variable.</p>
  
  <p>I'm fairly new to programming so I don't know if this is exactly right, so if anyone could give me some tips on how to improve the mark I would get for this question I'd greatly appreciate it.</p>