Created
March 1, 2021 11:20
-
-
Save Alkimisti/078d20dedd8797470a5ab83dabb485e1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class BooleanToString { | |
public static void main(String[] args) { | |
boolean b1 = true; | |
String s1 = String.valueOf(b1); | |
System.out.println("Vlera është: " + s1); | |
boolean b2 = false; | |
String s2 = String.valueOf(b2); | |
System.out.println("Vlera është: " + s2); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment