When I write a class Widget.java
Widget.java
public class Widget { int data; String name; }
will the compiler-generated constructo
It will be public as the class visibility is public
public
public Widget() {}