title: Can I use a scala class which implements a java interface from Java?
body: <p>I'm learning Scala and was curious if it would be possible to:</p>
  
  <ol>
  <li>Create an object which implements a Java interface in Scala</li>
  <li>Compile the object into a class file and jar it</li>
  <li>Use the object from Java</li>
  </ol>
  
  <p>I want to implement a custom lucene query parser in scala and be able to let others access it from a java application.</p>