12 lines
273 B
Java
Raw Normal View History

2015-09-07 11:44:36 -06:00
// innerclasses/DotNew.java
2015-06-15 17:47:35 -07:00
// Creating an inner class directly using the .new syntax.
public class DotNew {
public class Inner {}
public static void main(String[] args) {
DotNew dn = new DotNew();
DotNew.Inner dni = dn.new Inner();
}
2015-09-07 11:44:36 -06:00
}
/* Output: (None) */