458 Posted Topics
Re: You are going right here such a menu would require a nested switch implementation which you are on your way to do, so what are the errors you are getting and where do you need our help ? Also stop starting multiple threads for the same question, be patient if … | |
Re: Please use code tags while posting code. Also mention the section that you are getting this particular error in. Incompatible type errors are generated when the compiler expects an identifier to be of a certain type and finds one having another. So just try and find out if you can … | |
Re: What you could also do is read the file line by line, the same way as you are doing now and match a pattern in the read line using the [URL="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html"]String[/URL] class' [URL="http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html#matches(java.lang.String)"]matches[/URL] method. Where the pattern could simply be the string to be found in the file. Note : … | |
Hi, Can anybody point me out to good resources on "automating form filing and submission through Java App". The various types of forms are as given below: 1. Standard form with Form_Name, text boxes and submit button 2. Standard form with Form_Name, text boxes and submit image or JS based … | |
Re: @almostbob : Rather than posting the exact queries as answer, why not just mention that MySQL contains something like 'LIKE' and then maybe point him towards the documentation page for the same and then let him do the further tasks, such as the syntax botheration for MySQL, PHP etc. Wouldn't … | |
Re: [QUOTE=abhishaki;805952]hey noone will gonna give u d project kkkkk........ dis community is for programmars not for cheaters . so u better take care of dis in future........[/QUOTE] I don't want to dilute the essence of your post, but it would be a good thing to drop the IM/Chat speak yourself. … | |
Re: I would like you to detail on your question. What do you want to do exactly when you say that whether the items cadn be added up? | |
Re: Hi MARUN, As I see there are some discrepancies in your queries here. First you say that you want to limit the entrants to 20 but then in the second one you say you want to limit the enquiries to 20 so that has me a bit confused over your … | |
Re: [QUOTE=Fibinacci85;990820] I have no idea as to what to do. [/QUOTE] 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. | |
Re: 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 it requires good knowledge of such they can be broken too. Read about obfuscation and what … | |
Re: Firstly is there any criteria as to on which you could separate the data ? Say for example if there is any auto_increment field you could certainly use this to tuncate only those rows with id <= last_id, if not is there any timestamp value which could be used in … | |
Re: [QUOTE=bonaviam;980374]ask the user for a year and a month in numbers. Output the number of days in a month. Be careful of leap years[/QUOTE] Full marks for putting down the question correctly, now lets see what you do about the answer. | |
This code snippets shows how to reverse a string using a stack. | |
Re: How about an expansion of your username itself - [B]Green Extreme[/B], it would do more than just cause a stir especially in these days of Global Warming concerns. What say ? | |
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 Mobile number is queried through the API. The Route to be used for sending an SMS message … | |
Re: [URL="http://www.javacertificationexams.com/scjp-mock-exams.php"]Here[/URL] are many links to SCJP mock exam questions. Also if you need some more you can search "SCJP Mock Exam" in Google anytime ;) | |
Re: I faced atleast two of the problems posted by niek_e at around the same time he posted them. (Submit button problem and no notification through mail). I never face the load problem since I am using FF and ABP since long. But it looks promising to know that somebody's working … | |
Re: It is unclear what you exactly want to achieve. Bot hof your queries are identical. | |
Re: [QUOTE]Could you copy and paste your code? Have you used any css?[/QUOTE] [QUOTE]so use regexp for this issue.[/QUOTE] Whats code got to do with it ? And what the hell is the css doing there in a question related to MySQL ? And how are you going to use regex … | |
Re: Where do you think you should look for them ? Not certainly on the portals of MS-SQL, Oracle or DB-2 systems. [url]http://dev.mysql.com/downloads/connector/[/url] | |
Re: [url]www.mysql.com[/url] should be where you should be looking for all materials. Reading about, working with and trying out different things is what would be the best possible approach for gathering knowledge. So download the MySQL Server, install it (following the guidelines mentioned in the reference manual) and start working out … | |
Re: specify the IP address of the server in the place of localhost. | |
Re: [QUOTE=sneharaveendran;876383]Hi all I need to read an Excel sheet using java and I need to know how many columns are there in that excel sheet. Please drop a code snippet to this thread[/QUOTE] Don't ask lamely for ready-made code snippets no one's going to give you that. If you are … | |
Re: [code=sql] create view john_doe_rentals as select b.bid from sailor s, boat b, rental r where s.sid = r.sid and ( = 'John Doe') and r.date > "5/5/09" and rbid = b.bid; [/code] Here I guess you have forgotten to mention what equals to 'John Doe'. [code=sql] create view john_doe_rentals as … | |
Re: While compiling you need to specify the .java file, you are right on that part, but while running the file through the [I]java[/I] command you cannot specify the .java file, such a file won't simply run, the JVM would need a .class file. So you would have to execute the … | |
Re: @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 would like to know the source of this … | |
Re: 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: for the Name object it could be : [code=java] public String toString(){ return this.firstName + " " … | |
Re: [QUOTE=adatapost;873551]masijade has solved your problem. Every public class must be saved in separate file and the name of file must be same as public class. PS: You post dice class twice. - Isn't it?[/QUOTE] This was so very helpful, especially after the long, over-detailed post of masijade that still left … | |
Re: [QUOTE]So now the problem is not your code. So chill.[/QUOTE] 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, the … | |
Re: [url]http://lmgtfy.com/?q=static+and+nested+inner+classes+java[/url] | |
Re: [QUOTE=adatapost;873515]They are variables but used in different context.[/QUOTE] And what is that suppose to mean ? Not to mention JC had already given the answer. | |
Re: 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. Now to follow this concept, it would be a logical thing that you first need to increment the top … | |
Re: @serkan : The reason you cannot argue with Narue over this, or more appropriately, [I]should not[/I], is that even if people are working for 10-12 hours, can't they learn on the job itself ? Thats what Narue wants to mention when she says that to not learn anything from the … | |
Re: 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 changing the values manually, or even better would be the approach of … | |
Re: 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 certainly not going to achieve that kind of speed with logging into a … | |
Re: But Mr. Sendur, it's like you are in search of water and where are you looking for it ? In the dryest of the places of the World. Got the point ? What are you doing searching for a smart, deep thinking, intelligent young girl near a strip joint. Not … | |
Re: 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 them to refer each other, being public, this is possible (as long as … | |
Re: 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 [URL="http://java.sun.com/docs/books/tutorial/java/nutsandbolts/arrays.html"]here[/URL]. | |
Re: 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 appropriately a block, the variable falls out of scope at the '}' … | |
Re: 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 figure out by comparing each genarated word with the list of all dictionary words that you … ![]() | |
Re: I ain't finding much time apart from my work place to code anything. At workplace I need to build a small router/accounter for text messages that determines from the prefix of the destination (mobile) which gateway to route this message to and to search what price the user has been … | |
Re: My goodness Serkan, living in the US hasn't had much of a positive effect on your English langauge skills, now have they ? ;) | |
Re: 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 return type as "String". The logic to solve this should be implemented in two … | |
Re: [QUOTE]As i stated above, my "i love you" thing is only valid for one individual, and everybody knows who she is.[/QUOTE] This isn't a nice thing to say, especially when that someone has announced her discomfort with such stuff. I don't believe much in casting people in religious moulds anyway … | |
| |
Re: [QUOTE]what is this (File f=new File(file)[/QUOTE] Well, thats what happens when you put yourself into a habit of "finding out code" instead of writing it yourself - you are stumped by the most basic and rudimentary things. As something I am personally against, I won't help you understanding this code … | |
Re: 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. | |
Re: I should say I have to agree with Serkan Sendur here in this thread. I'm not saying that I have the same feelings for Narue as he does, but I mean I agree with him when he says "You have the liberty NOT to read this thread" I don't know … | |
Re: Also what you are forgetting is the Food Chain and Man (Human Beings) appear high on the Food Pyramid. [QUOTE]may be yes ! But the only problem is is it right or not ? is that much of pain worth that taste ?[/QUOTE] Try making a hungry tiger understand that. … | |
Re: Show the section in which you need help, post your code. |
The End.