Search:
Type: Posts; User: Norm
Search:
Search took 0.36 seconds; generated 28 minute(s) ago.
-
April 5th, 2022, 09:59 AM
Also posted here: https://coderanch.com/t/750710/java/Path-installed-correctly
-
March 25th, 2022, 09:39 AM
What version of java does that site use? See the API doc for the compare method to see what version of java it was released in.
-
November 16th, 2021, 09:55 AM
Use split to create a String array with the separated numbers (as Strings)
Create in int array of the same size
loop through the String array using Integer.parseInt to convert each String and...
-
July 24th, 2021, 08:44 AM
Also posted here: https://coderanch.com/t/744374/java/Picture-Comparison-Code-Working-Properly
Note: Posted code is missing an import statement and will not compile.
-
Please copy the full text of the error message and paste it here.
Is the missing class in a jar file that is on the classpath when the program is executed.
Also posted here:...
-
June 26th, 2021, 02:36 PM
Did you do a clean and a full rebuild?
Try making the Creature class public.
-
June 26th, 2021, 08:42 AM
The posted code looks like it should work. Are there other versions of the Creature class where myid() was not public?
-
April 2nd, 2021, 07:20 PM
Very little of my java code has much GUI. Mostly it is file contents manipulations.
I can't recommend an IDE as I don't use one much, except Eclipse with Android.
-
April 1st, 2021, 01:44 PM
I have never worked with those products and know nothing about them.
-
April 1st, 2021, 01:06 PM
Are you locked in to using VS? Many java programmers use either Eclipse or Netbeans for java programming.
I use an enhanced editor with some commandline tools for compiling and executing.
It is...
-
January 8th, 2021, 06:34 AM
Arrays do not generate values. They contain values. If the letters are Strings of length 1 then a String[] would work.
If the letters will be char then char[] would work.
One way To get random...
-
December 2nd, 2020, 10:20 AM
Look at how the other methods are declared to see how it needs to be done.
-
August 9th, 2020, 08:12 AM
Where does the code use the format() method to create the display you want to see?
Add a println statement to print out the value of the String created by format method so you can copy and paste...
-
August 9th, 2020, 07:20 AM
Can you post the code, values and the output that shows what you are talking about?
Add comments that describe what is wrong with the current output and show what you want the output to look like.
-
August 9th, 2020, 07:04 AM
How are you displaying the value? Are you using a format() method?
-
August 9th, 2020, 06:19 AM
Can you explain why you think that value is an error? What value would you expect to see?
How are you displaying the value?
-
August 8th, 2020, 07:18 AM
Can you ask a specific question about the problem you are trying to solve using java?
Do you have any questions about what was on the web page you posted a link to in post#4?
-
August 8th, 2020, 07:04 AM
I've programmed in java for years and have never had to work with exponents.
What specific questions or problems do you have?
-
August 8th, 2020, 06:56 AM
Can you explain what you mean by exponents in java?
Are you talking about math expressions?
-
What value(s) do you want to test?
What action should the program take based on the results of that test?
-
Can you describe what test needs to be made?
What action should the program take based on that tesr?
-
October 24th, 2019, 07:26 PM
arrays do not have methods.
Why not write a simple method yourself?
-
October 15th, 2019, 05:18 AM
What language is that written in? This is a java programming forum.
-
September 6th, 2019, 08:24 PM
FYI it is possible to call another class's main method just like any other static method:
TheClassName.main(new String[]{});
-
July 24th, 2019, 11:45 AM
Also posted here: https://coderanch.com/t/713262/java/Saving-Image-Read-Server-Bitmap#3340172
|
Click Here to Expand Forum to Full Width
|