Home » Author Archives: Abhinav Nath Gupta

Author Archives: Abhinav Nath Gupta

Abhinav holds a Master degree in Computer Science and Engineering from the National Institute of Technology Karnataka. He has finished his graduation from Information Technology Department in the Anand Engineering College, Agra. During his studies he has been involved with a large number of projects ranging from Networking and Cryptography. He works as a software development engineer at a software development firm in bengaluru where he is mainly involved with projects based on Nodejs. He is interested in cryptography, data security, cryptocurrency and cloud computing, and published articles regarding these topics. He can be reached at abhi.aec89@gmail.com.

Java Exceptions List Example

In this article we will discuss the Java exceptions list. We will discuss what are exceptions, when they occur and their types. 1. What is An Exception in Java? Exception is mechanism which Java uses to handle any unforeseen use-case/scenario. Basically an exception is thrown when either something unexpected happened during code execution which is not covered in any code ...

Read More »

What is null in Java

In this article, we will discuss the null in java. Java and null share a unique bond across the board, whether we are using it as a default or placeholder or being used as a filler for a variable intentionally. 1. What is null and why it is used? Recall what a variable is and what a value is. A ...

Read More »

Array methods Java Tutorial

In this post, we feature a comprehensive Array methods Java Tutorial. 1. Introduction to Arrays in Java In java Arrays can be think of the sequential collection of objects. An array can contain a number of items which are all located next to each other in memory. If the number of items in an array is zero, then the array ...

Read More »

Java char Primitive Type Example

1. What are Primitive Types in Java? The Java programming language is statically-typed, which means that all variables must first be declared before they can be used. This involves stating the variable’s type and name, as you’ve already seen: char gear = '1'; Above code tell the Java Compiler that a field named “gear” exists, holds character data, and has ...

Read More »

Array to String Java Example

1. Intro to Array in Java In java, arrays are a collection of similar types where type can be a String, Integer or an instance of a user defined class. int intArray[]; //declaring an array of integers intArray = new int[20]; // allocating memory to array As shown in above code snippet, we have declared intArray as an array of ...

Read More »

Java Synchronized Keyword Example

In this example we shall show you how to use the Java synchronized keyword. 1. What is Synchronized Keyword in Java? Java allows us to use concurrency and multithreading pretty easily. Some of the most common use cases are those in which we have an object and many threads interacting with it. This can create many problems, because in cases ...

Read More »

Java throw Exception Example

In this post, we feature a comprehensive Java throw Exception Example.  1. What is an Exception in Java? Exception is mechanism which Java uses to handle any unforeseen use-case/scenario. Basically an exception is thrown when either something unexpected happened during code execution which is not covered in any code block(converting some null value to lowercase()) or some IO operation communicating ...

Read More »