title: How to convert a java.util.List to a Scala list
body: <p>I have this Scala method with below error. Cannot convert into a Scala list.</p>
  
  <pre><code> def findAllQuestion():List[Question]={
     questionDao.getAllQuestions()
   } 
  </code></pre>
  
  <p>type mismatch; found : <code>java.util.List[com.aitrich.learnware.model.domain.entity.Question]</code> required: 
   <code>scala.collection.immutable.List[com.aitrich.learnware.model.domain.entity.Question]</code> </p>