Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java class creation inside method

public class ASimplisticTCPFiniteStateMachine_FSM_ {
    public static void main(String[] args) {
        class Lmao_It_Exists {
            public void main() {
                System.out.println("Hello World");
            }
        }
        new Lmao_It_Exists().main();
    }
}
 
PREVIOUS NEXT
Tagged: #java #class #creation #method
ADD COMMENT
Topic
Name
6+2 =