Forum: Java 11 Days Ago |
| Replies: 7 Views: 1,698 Good you woke up from your sleep, but before posting please check the dates. Nobody was fighting on the thread and whatever the matter was was long closed before you decided to reopen it by bumping... |
Forum: Java Sep 20th, 2009 |
| Replies: 2 Views: 243 Well in that case a simple solution is to go back and ask the assignment giver for a more detailed explanation on what to do. |
Forum: Java Sep 19th, 2009 |
| Replies: 3 Views: 375 Firstly languages such as Java do not offer such "consealing" feature cause they are not meant to be used that way. Secondly as masijade has rightly pointed out executables are not all safe. Though... |
Forum: Java Sep 8th, 2009 |
| Replies: 1 Views: 189 Full marks for putting down the question correctly, now lets see what you do about the answer. |
Forum: Java Aug 31st, 2009 |
| Replies: 5 Views: 581 If I have to develop a project I'd rather like it to be some topic I am fantastically interested in, so I'd rather suggest you dig deep into your mind to find concepts/ideas that you really find your... |
Forum: Java Jun 23rd, 2009 |
| Replies: 1 Views: 379 The environment of my application is as mentioned below :
The application is a Router/Accounter library used to identify an appropriate Route (and also the price for that) when a destination for a... |
Forum: Java May 27th, 2009 |
| Replies: 6 Views: 583 Yes those questions are for SCJP in general, but you could as easily search for the required exams' mock questions in google. :) |
Forum: Java May 26th, 2009 |
| Replies: 6 Views: 583 Here (http://www.javacertificationexams.com/scjp-mock-exams.php) are many links to SCJP mock exam questions. Also if you need some more you can search "SCJP Mock Exam" in Google anytime ;) |
Forum: Java May 26th, 2009 |
| Replies: 2 Views: 1,042 Don't ask lamely for ready-made code snippets no one's going to give you that.
If you are ready to do something for your self take a look here : http://poi.apache.org/ |
Forum: Java May 25th, 2009 |
| Replies: 23 Views: 1,347 No I am not. But I don't think I or anyone for that matter can stand somebody lying into his/her face. You might feel the way you are feeling and I can understand someone feeling that way, but my... |
Forum: Java May 25th, 2009 |
| Replies: 23 Views: 1,347 |
Forum: Java May 25th, 2009 |
| Replies: 23 Views: 1,347 Yes you are, if not what do you make of this statement.
Don't try giving excuses for what you have done especially lying, accept what you did and move on. The more you say I ain't stupid, I... |
Forum: Java May 25th, 2009 |
| Replies: 12 Views: 797 While compiling you need to specify the .java file, you are right on that part, but while running the file through the java command you cannot specify the .java file, such a file won't simply run,... |
Forum: Java May 24th, 2009 |
| Replies: 5 Views: 781 Thats because you haven't have implemented the toString method for your objects Address and Name. You need to implement them to define the behaviour of the toString method for your object. For e.g:... |
Forum: Java May 23rd, 2009 |
| Replies: 23 Views: 1,347 Don't lie to our faces we would screw you for that.
And don't give lame excuses either; You haven't written this piece of code and you had no idea about it whatsoever, till the forum... |
Forum: Java May 22nd, 2009 |
| Replies: 9 Views: 527 Firstly check your langauge here, this is not some cheap internet chat that you are into. Read the forum rules regarding chat speak, because I am sure you haven't cared.
And towards the answer to... |
Forum: Java May 22nd, 2009 |
| Replies: 4 Views: 270 This was so very helpful, especially after the long, over-detailed post of masijade that still left so many things ambiguous and in the open to be explained.
Thank you. |
Forum: Java May 22nd, 2009 |
| Replies: 5 Views: 223 http://lmgtfy.com/?q=static+and+nested+inner+classes+java |
Forum: Java May 22nd, 2009 |
| Replies: 23 Views: 1,347 @OP : This program isn't written by you isn't it ? Since you do not even know whether it's for C++ or Java. So before I give you an advice, unlike others who I guess haven't put a thought to this, I... |
Forum: Java May 22nd, 2009 |
| Replies: 3 Views: 328 And what is that suppose to mean ? Not to mention JC had already given the answer. |
Forum: Java May 21st, 2009 |
| Replies: 9 Views: 527 You might be surprised to know that sleep is not the only one that causes the problem, seldom actually. Any kind of blocking I/O is the main cause why a thread could be made to relinquish control of... |
Forum: Java May 20th, 2009 |
| Replies: 9 Views: 527 Not necessarily. There might not be a problem as such in his program but that does not mean the o/p would be as he wants it. It depends on the how the threads are schedule and hence, as mentioned,... |
Forum: Java May 19th, 2009 |
| Replies: 5 Views: 338 As hardik.rajani mentions there's is little programming "tradition" to this.
The concept of the Top of Stack is that the Top should always point to the uppermost/topmost element in the Stack.
... |
Forum: Java May 17th, 2009 |
| Replies: 2 Views: 410 Yes some config file or such to enter in the base rates or better is like reading an excel sheet which could be likely downloaded from some other source so that the user doesn't always have to keep... |
Forum: Java May 14th, 2009 |
| Replies: 5 Views: 278 Every public class should be defined in a file named identically. So, it's obvious that a file cannot have two public classes. So you need to create two files for the two public classes and then make... |
Forum: Java May 13th, 2009 |
| Replies: 3 Views: 1,000 |
Forum: Java May 12th, 2009 |
| Replies: 3 Views: 1,000 Your program specification mentions arrays, I don't see any arrays defined in your program. Check the Java tutorials on how to define and use arrays here... |
Forum: Java May 12th, 2009 |
| Replies: 10 Views: 653 Even if the user hits the cancel button you won't get a NullPointerException. If the user clicks cancel you would get an in value specifying that the user hit the cancel option. So just fetch the... |
Forum: Java May 12th, 2009 |
| Replies: 10 Views: 653 I guess you have a pretty clear idea of what is happening around here. So I just would like to give you the notion of why it happens.
When you declare a variable inside a method or more... |
Forum: Java May 11th, 2009 |
| Replies: 13 Views: 859 But even then you are comparing the generated word with some words having the starting letters same as it has, this certainly takes up time more so if you are comparing a common start for e.g. 'co'... |
Forum: Java May 11th, 2009 |
| Replies: 28 Views: 1,060 @s.o.s : I was thinking more of on the lines that the user was building a logging tool one like apache log4j.
@OP : And if you are doing that, more than anything else you should look at the tool... |
Forum: Java May 11th, 2009 |
| Replies: 28 Views: 1,060 If you are developing a logging tool, flat files are the best. Since an application using your tool might be logging hundreds of entries in a matter of a few seconds and needless to say you are... |
Forum: Java May 10th, 2009 |
| Replies: 13 Views: 859 Alright that advice comes from someone who has done this program first hand, whereas I haven't had such experience, the optimizations I suggested were some of several that came to my mind upon an... |
Forum: Java May 10th, 2009 |
| Replies: 13 Views: 859 Firstly I guess you need not dump all generated permutations into an array. You should only dump those permutations which generate a word out of the unscrambling of the original word, which you can... |
Forum: Java May 5th, 2009 |
| Replies: 1 Views: 351 What's the "assembly" word over here ?
Also the spec says the method should return an int, so this would most probably be the index of that element in the array. You have instead declared the... |
Forum: Java May 4th, 2009 |
| Replies: 2 Views: 187 Ehh ? What ? Could you detail out on this. |
Forum: Java May 4th, 2009 |
| Replies: 9 Views: 1,512 Show us your code, so that we might help you better. Also this thread has already been marked as solved, so start a new thread. |
Forum: Java May 2nd, 2009 |
| Replies: 2 Views: 275 Detailing out what you need exactly would help us help you here. Plus it might not be that it cannot be done through Java. And finally show us your effort here, as to what you have actually got done. |
Forum: Java Apr 17th, 2009 |
| Replies: 2 Views: 592 As you have posted this in the Java Forum I assume your questions relates to the Java Language.
Well talking about functions and methods:
Functions are a block of code that are perform a... |
Forum: Java Apr 17th, 2009 |
| Replies: 3 Views: 279 I guess, yes she is.
Show what you have worked on for the entire year. What projects you have designed or developed or both, what documents you created or more appropriately what tools you... |