hello friends. i would like to know if it is possible to run a class file using a java program itself.i mean a program tht would return the answer (run) the class file .
Recommended Answers
Jump to PostIt is possible but pointless. If you want to call the class program to get the answer, then just put what is inside the main to a separate method with arguments and call that method.
All 4 Replies
javaAddict
900
Nearly a Senior Poster
Team Colleague
Featured Poster
muusa
0
Newbie Poster
javaAddict
900
Nearly a Senior Poster
Team Colleague
Featured Poster
muusa
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.