Learn Jasmine framework in detail including suite, spec, setup, teardown, describe blocks, matchers and spy – with examples.
In java, java.util.Locale class represents a specific language and region of the world. If a class varies its behavior according to Locale, it is said to be locale-sensitive. Learn more.
Example of java code to unzip and extract files and sub-directories from a compressed zip file using java.util.zip package.
Learn to use System.getProperty(“user.dir”) and Paths.get(“”).toAbsolutePath() to get current working directory or root folder of the application.
XMLEncoder class is used to serialize or encode a java object into XML file, while XMLDecoder is used to deserialize the xml file back to java object. Learn to use them in detail.
Knowing the difference between Externalizable vs Serializable is important in two aspects, one – if could be asked as an interview question, two – you can use the knowledge to make better informed decision for performance improvement for applying serialization into your application.
You can achieve more efficient serialization by implementing Externalizable interface and overriding it’s methods writeExternal() and readExternal().
Learn to use java.util.Random, Math.random(), SecureRandom and ThreadLocalRandom to generate random numbers based on your application requirements.
Use given syntax examples for setting CLASSPATH for any java application runtime, in windows and linux environments.