Mentoring Software Engineers — Newsletter, June 2021

Tarun Telang
2 min readAug 3, 2021

Below are some of the topics covered during the last month (June 2021):

Photo by Mia Baker on Unsplash

1. What is an inner class in Java?

In Java, a class declared within another class is called a nested class. A nested class can be declared as static or non-static. Non-static nested classes are also known as inner classes.

2. How to do an iterative binary search in multiple languages?

Code snippets in multiple languages to perform a binary search on an array using iterative implementation

3. How to check if a binary tree is a binary search tree in Java?

One of the most straightforward approaches used to verify a binary search tree is to make recursive calls to see if its node values are within a range of maximum and minimum values, as permitted by its definition.

4. How to print multi-dimensional arrays in Java?

In Java, printing an array is a common task. Although outputting the content of a one-dimensional array is straightforward enough, doing it for the content of a multi-dimensional array is more complex.

--

--

Tarun Telang
Tarun Telang

Written by Tarun Telang

Prolific Author, Engineering Leader, Software Architect

No responses yet