JUnit Display Name – @DisplayName
JUnit Display Name – @DisplayName JUnit @DisplayName annotation is used to provide a custom name for the test class and test methods. We can use spaces, special characters, and even…
JUnit Assert Exception – JUnit 5 and JUnit 4
Testing Expected Exceptions in JUnit We can test expected exceptions using JUnit 5 assertThrows assertion. This JUnit assertion method returns the thrown exception, so we can use it to assert…
json-simple Example
json-simple Example json-simple uses Map and List internally for JSON processing. We can use json-simple for parsing JSON data as well as writing JSON to file. One of the best…
jQuery parent() and children() tree traversal functions
jQuery parent() and children() tree traversal functions jQuery provides a lot of tree traversal functions that we can use to get the parent, child, siblings, previous and next elements. We…
Node JS Architecture – Tutorial
Node JS Architecture – Tutorial Before starting some Node JS programming examples, it’s important to have an idea about Node JS architecture. We will discuss about “How Node JS works…
Node FS – NodeJS Tutorial
Node FS – NodeJS Tutorial In this post, we are going to discuss about Node JS Platform “fs” module. FS Stands for File System. This module is also known as…
NavigationView In Android
NavigationView In Android In this tutorial, we’ll discuss and implement a NavigationView in our android application. Here, we’ll learn to style it such that it opens from right to left…
Multiple Inheritance in Java
Multiple Inheritance in Java Multiple inheritance in java is the capability of creating a single class with multiple superclasses. Unlike some other popular object oriented programming languages like C++, java…
N-Queens Problem: Solving using backtracking in Java/C++
N-Queens Problem: Solving using backtracking in Java/C++ If you love playing chess, you’ll enjoy learning about the N-queens problem. It is a good problem to understand backtracking. Content1 What is…