#nullpointer

StringUtils – Apache common Lang3

In this blog, we will learn about the StringUtils class. It provides some nice utilities that deal with Strings as compare to java.lang.String. Before discussing its methods, let’s see one example. Movie movie = new Movie() String name = movie.getName(); if(name.isEmpty()){ } what if the movie’s name is Null. 🤔 Exception in thread “main” java.lang.NullPointerException Then definitely it will throw a Null Pointer Exception. Yes, Continue Reading

Knoldus Pune Careers - Hiring Freshers

Get a head start on your career at Knoldus. Join us!