title: Can you declare two variables of different types in one statement?
body: <p>A question from a publicly disclosed exam read "Write a single statement that declares two variables, a and b, and initializes them with the values 7.3 and "Goodbye". "</p>
  
  <p>The answer in the key:     </p>
  
  <pre><code>double d = 7.3; //or float f = 7.3; (they must have 7.3f, but we will accept 7.3)              
  String message = “Goodbye”;
  </code></pre>
  
  <p>Is this a typo? That looks like two statements to me, unless if I have mixed up the definition of a statement.</p>