fork download
  1. class Prueba{
  2.  
  3. public static void main(String[] args) {
  4.  
  5. String a = "Central:";
  6.  
  7. System.out.println(a.endsWith(":"));
  8.  
  9.  
  10. }
  11.  
  12. }
Success #stdin #stdout 0.07s 380224KB
stdin
Standard input is empty
stdout
true