No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Trying to figure out why code wont work. Its gets 2 errors for String newS1 = s1.sort; String newS2 = s2.sort; I dont know how know whats wrong [CODE]public class anagram { public static void main(String args[]) { java.util.Scanner input = new java.util.Scanner(System.in); System.out.print("Enter the first string: "); String first … |
|
Working on a java applet. I have to tweak the program so that it draws two different polygons instead of a single one. The first polygon was given but the second one I have as astx and asty which are given in the book. Cannot get it to compile [code] … |
|
I am developing a code to find the occurence of digits in a string. I need help. When it compiles I get the error: cannot find symbol variable countDigits |
|
I need help with my class assignment. I am supposed to write a java program to count the number of digits in a string using: [icode]public static int countDigits(String s)[/icode] can anyone help...I cant seem to figure it out from what I have [code]public class Ex8_5 { public static void … |