``` class X { private companion object { con...
# announcements
s
Copy code
class X {
  private companion object {
    const val Y = 123
  }
}
does it make sense that
Y
is accessible from other classes in java? it basically becomes
public static final int Y = 123;
in
X