You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

VariousConstructors.java 252B

123456789101112
  1. import org.aspectj.testing.Tester;
  2. import java.awt.Component;
  3. public class VariousConstructors {
  4. public static void main(String[] args) {
  5. Component c = new Component() {};
  6. AbstractC ac = new AbstractC() {};
  7. }
  8. }
  9. abstract class AbstractC {}