- 1
public class comparestrings{ public static void main (String[] args) { String style = "Bold"; String style2 = "B
public class comparestrings{ public static void main (String[] args) { String style = "Bold"; String style2 = "Bold"; if (style == style2) System.out.println("Equal"); else System.out.println("Not Equal"); } }
1 ответ
+ 2
Hi , do not spam , format your question properly to ask the actual problem you are facing with the above code.
Also, specify the language name in tags.