Learn How to Assign Arguments in NetBeans: A Java Tutorial - Da Jeans

  • Context: Java 
  • Thread starter Thread starter Math Jeans
  • Start date Start date
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 3K views
Math Jeans
Messages
347
Reaction score
0
Hi. I am using NetBeans as my new Java compiler.

I have been searching throughout the program, and I have not figured out how to assign arguments to args[] through this compiler.

I'm working on a Java assignment, and it required the use of this.

Any help would be appreciated.


---Da Jeans
 
Physics news on Phys.org
I'm new to NetBeans too, and I haven't tried any programs which need arguments, so I'm not sure whether this is what you want, but I've noticed that in the project properties/run page you can assign a main class together with arguments.
 
Ok. It worked perfectly. Thanks for the help.