- 2
What is the wrong in this code
11 Answers
0
Yasir Yagoub Ahmed your program have extra invisible characters like showing \u000. Remove all those. You may copied from any Web source so that's why those.. Remove all it works...
+ 3
Please give your code in description not in tag.
0
I have problem with code in java
0
In this code
/*create buttom withe java swing */
import javax.swing.JFrame;
import javax.swing.JButton;
public class Program
{
public static void main(String[] args) {
JFrame frame =new JFrame();
JButton botton=new JButton("click");
botton.setBounds(120,100,500,60);
frame.add(botton);
frame.setSize(600,500);
frame.setLayout(null);
frame.setVisible(true);
}
}
0
Thank you
0
Also this code not support is sololearn
public class Program
{
public static void main(String[] args) {
String r=â    this code delet the empty between words    â;
System.out.println( r.strim());
}
}
0
Yasir Yagoub Ahmed it works..
r.trim();
Not r.strim()
0
Not works at sololearn