J2K: use of new syntax for class intialization blocks
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
public class Test(public var id: String?, public val name: String, public val age: Int) {
|
||||
|
||||
{
|
||||
init {
|
||||
System.out.println(age)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user