title: Context bound in Scala
body: <p>I am learning Context bound in Scala.</p>
  <p>In the below code, I am invoking multiplication operator on the integer parameter. But it errors out. 'a' is considered as type parameter; but it is actually not as per my understanding. Can someone please help.</p>
  <pre><code>scala&gt; class Sample[T]
  defined class Sample
  
  scala&gt; def method[Int:Sample](a:Int) = a * a
  &lt;console&gt;:12: error: value * is not a member of type parameter Int
         def method[Int:Sample](a:Int) = a * a
  </code></pre>
  <p>Thanks!</p>