I'm glad you got it working.
Type: Posts; User: Norm
I'm glad you got it working.
How can the code be compiled and executed for testing? It is missing some parts.
What is the desired output for the program?
Sorry, I do not know anything about Minecraft. Try asking on a relevant forum.
This forum is for helping with java programming.
Ok, this problem is about finding an algorithm to solve the problem. The algorithm has nothing to do with the java language. It is the steps the computer needs to take.
You need to find the...
Did your instructor give you any hints to help you solve the problem?
Do you have an algorithm for solving the problem? Did your instructor give you any hints for solving the problem?
I do not have any ideas.
You will need a design or algorithm before you can...
Sorry, I do not understand what a group is. You give two examples but do not explain what a group is.
For example, are the 4 1s in red in one group?
110
110
000
Here one group is red and one...
What is a "group"? Can you give an example?
Can you post an example of that?
Is that a two dimensional array? Do the number of rows need to be the same as the number of columns?
Can you define what a "group of 1" is?
Here is a discussion on how it might be done:
The...
The posted code has lost all its indentations making it much harder to read and understand.
Please restore the code's proper indentations.
Also where is the main method for executing the code?
...
What does the posted code do that is useful for solving your problem?
Do you have any specific questions about the posted code?
Please edit your post and wrap your code with code tags:
...
This looks like javascript, not java. Try asking on a javascript forum
How does it do that? Your description is generic and could apply to lots of methods.
What does it return after doing all that?
Please post the source code for the classes you are having problems with.
Be sure to wrap all code in code tags.
If you have java programming questions, you can post them here. Be sure to wrap all posted code in code tags.
What is MR jack Pocket? How is java related?
Are you issues about an IDE or about java programming?
I don't know anything about the IDE.
Yes, I have a reasonable understanding of what an interface is and how to use it.
My question is about the Measurable interface. What is it supposed to do? How and why would it be used?
Method...
What is supposed to be in the Object returned by measure? Why does the method return an Object instead of a specific class that has useful data and methods?
What happens when you compile the program? If there are errors, copy the full text and paste it here.
What is the program supposed to do? Where are the values to be displayed? What code is...
This sounds like a problem with using an OS, not a java programming problem.
If the program you want to execute is a server that can be connected to the internet, then a client on another computer...
I added ()s to make it easier to read.
The computer first does the % operation (which returns a int value) and then compares that int value to 0 which returns a true or false value that is used by...
You are welcome. I'm glad you got it working.
The main method is called by the java program to start execution of the class that is passed to it on the command line.
If you enter: java TheClass
then TheClass needs to have a main method.
...
Please edit your post and wrap your code with code tags:
**YOUR CODE GOES HERE**
to get highlighting and preserve formatting.
The code needs some comments describing what it is trying...