Class Expected error - HELP

Hi I've been workin on a project, and it seems something is wrong with this code... i honestly cannot figure it out...

here it is :

Uses the following methods:

public static boolean areEquivalent (String word1, String word2)

This method reutrns true or false depending on whether the two input arguments hae equal numbers of A's, B's, and C's (in any order.) You may assume that each string contains only these lowercase characters, in any order or quantity. For example, areEquivalent("abcbca","ccbbaa... ) would return true, because each input string contains 2 as, 2 bs, and 2cs.

this is the code i have so far:

public static boolean areEquivalent(String word1, String word2)

{

int count = 0;

String line;

{

for ( int i = 0; i<char.length; i++)

{

saasd

}

if count = as + word 2

true

else count = bs + word 2

true

else count = cs + word 2

true

else as==bs==cs

return true

}

}>

[1046 byte] By [simonkf2002a] at [2007-11-27 7:29:13]
# 1
This isn't the actual code is it?
kdajania at 2007-7-12 19:09:21 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...
# 2
Hi,May I know what is your actual code?And what error did you get?thanksdaniel
java4every1a at 2007-7-12 19:09:21 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...