-
-
Save godie007/2220460 to your computer and use it in GitHub Desktop.
Paradigma O.o
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 ejemplos { | |
public static void main(String args[]){ | |
String Cadena="los nenes"; | |
if(Cadena.length()>20){ | |
System.out.println("la cadena tiene menos de 20 caracteres"); | |
} | |
else{ | |
System.out.println("la cadena tiene 20 o mas caracteres"); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment