Manish Ramrakhiani wrote:Hello All,
I have the following problem with Runtime.exec().
Now, my requirement is :
Inside RunFile.cmd I want to execute another file whose path is given by user.
So I need to pass an argument of the path of file selected by user to this RunFile.cmd.
Please help how can i achieve this.
Ernest Friedman-Hill wrote:Hi Mike --
I did a little Googling on this. It's apparently a COBOL thing. It's a way that signed numbers were stored on tape from COBOL. It seems like it was ad-hoc in nature; I don't think there was a standard format, but it's more of a concept with many implementations. Perhaps something you do when you're storing numbers as BCD rather than binary? Maybe it's older than one's complement? Can't be.
chihwah li wrote:Is there any reason why signed numerics are used?
Why use the last digit of a number to determine if a number is positive or negative?
Is there a story from previous Java version or programming problems that signed numerics was invented or used?
Dharmakumar Gajendran wrote:Can any please explain what is Enum and its usage?
Nrapendra Sharma wrote:i need to detect country mainly.
is there any standard implementation which can be refered for creating a phone parser ..??
Ariana Green wrote:OK, more dumb questions...
I'm trying to write code from scratch because quite frankly I can't get anything I pick up online to compile. I need to learn by doing so this seems the best way. I understand the rationale behind methods, constructors etc but I'm struggling to pool it all together: most of the examples I read are just code snippets that obviously won't execute, and the things I find online to try are dubious but I can't work out why (100 errors for a 5 line bit of code!? and this from a consultancy site... it must be ME making the mistake, right??). So anyway...
I start with declaring the public class, then the public static void main stuff (is that required?), then I get a bit stuck. If I want to write a class that iterates through a loop until the conditions are met, how do I declare it? Do I set the variables before I type the method? Do I need a constructor, and if so, what exactly do I need to construct? And so forth.
In my head it's all got very muddled and complicated...
I *thought* I understood it fine until I actually started to write the stuff! (Yes, I know. Don't shout at me, at least I'm trying...)