``` public interface JavaDup { // public String a...
# announcements
d
Copy code
public interface JavaDup
{
 // public String a ;
  public String getA();//{ return a ; }
  public void setA(String a) ;//{ a=_a;}
}
----- kotlin
Copy code
import util.JavaDup

class B : JavaDup {
  override var a : String = "hi"
}
k
https://youtrack.jetbrains.net/issue/KT-6653, one of the most requested features.
And for next time, surround code with ```
h
or, even better, use snippets (the left of the input text box) – you could set filenames and correct syntax highlighting there.