public class Solution {
public static void main(String[] args) {
String apple = "Apple";
/* String porridge = "Porridge";
String sausage = "Sausage"; */
String peach = "Peach";
System.out.printIn(apple);
System.out.printIn(peach); //write your code here
}
}
Whats wrong with this code?
Resolved
Comments (3)
- Popular
- New
- Old
You must be signed in to leave a comment
rajesh
4 January 2019, 06:57
you write printIn() ; here you typed I (capital i ) instead of l (small L)
0
Khurram
2 January 2019, 16:31
the problem is with the println function, you have typed capital i instead of a small l (el) println => print line
0
Jeff Jeffy
2 January 2019, 03:33
Maybe put the //write your code here on a different line
Java reads line by line, make sure its gray, or it will detect it as code
Also, I dont think /* and */ are supposed to be there. I could be wrong, though.
0