hi i have a method which display a list of customer id's.

the method is customerService.getAllCustomersID()

how do i check whether this method returns a null list or list or customer id's

appreciate a reply
thanks

java.util.List<String> l = customerService.getAllCustomersID();

thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.