Lesson5: String. Arrays
1. isEmpty ve isBlanc ferqi
String a = "";
System.out.println(a.isEmpty());
System.out.println(a.isBlank());
System.out.println("-------------------");
String b = " ";
System.out.println(b.isEmpty());
System.out.println(b.isBlank());
-----------------------------------------------------------------------------------------------------------------------------
Arrays
int[] arr = {1, 2, 3, 4};
Комментарии
Отправить комментарий