---
title: "Niraj Kumar Gangale (@iamnirajdotcom) | Hashnode"
description: "Empowering communities via cloud and education. Read the latest articles by Niraj Kumar Gangale on Hashnode."
url: "https://hashnode.com/@iamnirajdotcom"
---

@iamnirajdotcom

# Niraj Kumar Gangale

@iamnirajdotcom · India · Joined May 2022

Empowering communities via cloud and education.

[Website](http://www.iamniraj.com/)

## Comments

[I want to ask a question. when does type checking happen in Array at Compile time or the Runtime? https://www.baeldung.com/java-generic-array An important difference between arrays and generics is how they enforce type checking. Specifically, arrays store and check type information at runtime. Then, this should work fine. int\[\] firstArray = {"hello", "hello2"}; But, this gives Compile time error. Why?](https://hashnode.com/posts/java-6-array-part-1/630093da74730d13020f163e/comment/6334235afa20fa4bc8e51799)

Comment · Article · Sep 28, 2022 · [Java #6 - Array (Part-1)](https://hashnode.com/posts/java-6-array-part-1/630093da74730d13020f163e)

[When we use the (==) operator java compares the value of the variables basically it checks whether the variables are pointing to the same object or different. No Akash the, Equal to (==) does not compare that variable is pointing to the same operator it just compares the value itself. String firstString = "Bunny"; String secondString = "Bunny"; Both the firstString and secondString have equal values of the address i.e. a Hexadecimal value, but saying they are pointing to the same object or different means also the same.](https://hashnode.com/posts/strings-in-java-explained/6330607a3ac18d0d78a03786/comment/63341b6ffa20fa4bc8e516cb)

Comment · Article · Sep 28, 2022 · [Strings in java explained](https://hashnode.com/posts/strings-in-java-explained/6330607a3ac18d0d78a03786)
