Answers for "how to run java .class"

0

java run class file

java -cp ./ {NAME}
Posted by: Guest on August-26-2020
0

run java class file

// Don't usee .class at the end of class file name
java ClassFileName //--in file path-- if file doesn't have package
java PackageName.ClassFileName //--in package path-- if file have package
Posted by: Guest on May-15-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language