Hi
This is my code, please check it. When i am trying to run the code I am getting an error. Please help. This is a part on my program
Then the error I get isCode:clastr Count{ public static void main(String args[]) { String str=args[0]; int count=str.lenght(); System.out.println("count"+str.length()+count); //System.out.println("count"+str.length());}}
error
Count.java:8: cannot find symbol
symbol : method lenght()
location: clastr java.lang.String
int count=str.lenght();
Bookmarks