Using
@echo off
javac source.java
java source
I am able to create source.class file and also run but the out window is not persisting...
When java
source executes the cmd
just blinks and goes off but I want that window visible until we close it. Please help me how to do it?
Thanks in advance