0

Is it possible to create a new instance of a class within the class itself

public class fooclass { public static void main(String[] args){ fooclass object = new fooclass(); // is it possible? } }

31st Oct 2017, 7:11 AM
Morgan Lee
Morgan Lee - avatar
1 Answer