I have a java program I'm working on, and it has a line in it:
public void onClick(guidebtn) {
with this error:
Syntax error on token "guidebtn", VariableDeclaratorId expected after this
token.
I'm trying to find documentation for the onclick method so I can understand
the problem, but I'm
at 9:52 PM, tinyang wrote:
> Hello
>
> I am trying to complete 3.1 of Lab 1011. Below is 3.1:
>
> 4. (For your own exercise) Modify TestPassByValue.java as following.
> Build and run the project.
>
> Pass the second primitive type parameter to the test(..) method - you
&g
Hello
I am trying to complete 3.1 of Lab 1011. Below is 3.1:
4. (For your own exercise) Modify TestPassByValue.java as following. Build
and run the project.
* Pass the second primitive type parameter to the test(..) method -
you can choose any primitive type parameter (such as long or
} }
};
Add two more braces (indicated in blue).
Hope this helps you.
On Wed, Jul 29, 2009 at 4:06 AM, tinyang wrote:
Here is my result for exercise 2.
int[][][] num = {{ 1000, 1001, 1002},
{ 1003, 1004, 1005},
{ 1006, 1007, 1008
Here is my result for exercise 2.
int[][][] num = {{ 1000, 1001, 1002},
{ 1003, 1004, 1005},
{ 1006, 1007, 1008}
};
The error I get is:
Exception in thread "main" java.lang.RuntimeException: Uncompilable source
code
Hi all.
Here is my code for MyGreatestValueProject2. I'm getting a "Incompatible
types" compile error on the following line:
min = (zero < num3) ? "The smallest number is less than 10!" : "The smallest
number is greater than or equal to 10!";
I think I understand the problem which is declaring