![]() |
|
#1
|
|||
|
|||
Need help with java argumentsHello!
I need some help passing a second argument introduced in the output(Netbeans) to a string,so I can then pass it to the constructor.Something like this: new <title> name.txt What I need to to do is pass the title to the constructor.How can i do this? |
|
#2
|
|||
|
|||
Re: Need help with java argumentsHi,
JAVA Code:
JAVA Code:
__________________
Please, correct me if I'm wrong, and sorry for my english ;) |
|
#3
|
|||
|
|||
Re: Need help with java argumentsMake sure to create getter and setter methods for that class as well. You never know if you're going to want to update or retrieve that title later on.
Justin Fox Example: JAVA Code:
Justin Fox |
Recent GIDBlog
Meeting the local Iraqis by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| What is the equivalent in Java for a Function or Module in VB | pengwinz | Java Forum | 2 | 17-May-2007 20:02 |
| To post messages / click Buttons of a Java Jar App using code | Jun0 | C Programming Language | 1 | 06-Jan-2007 14:44 |
| To post messages / click Buttons of a Java Jar App using code | Jun0 | Java Forum | 0 | 06-Jan-2007 11:14 |
| Scalability in Java and C++ | agx | Miscellaneous Programming Forum | 7 | 04-Feb-2006 15:35 |
| Made program in Java, trying C++ now, file i/o problems | technickel | C++ Forum | 4 | 19-Feb-2005 00:32 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The