- 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"); } }

5th Jun 2021, 2:39 PM
عباس جلاوي
عباس جلاوي - avatar
1 Resposta
+ 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.
5th Jun 2021, 3:05 PM
Abhay
Abhay - avatar