Write code to create a function to check if a string is Null Or Empty
//package com.book2s; public class Main { public static void main(String[] argv) { String value = "book2s.com"; System.out.println(isNullOrEmpty(value)); }// ww w. j ava 2 s. com public static boolean isNullOrEmpty(String value) { return value == null || value.trim().length() == 0; } }