Call By Value & Call By Reference in Java

Call By Value & Call By Reference in Java

Hey, Tea Lovers! Today we will take a look at the basic but tricky interview question, Call By Value & Call By Reference in Java. Both beginners and experienced developers get this question in interviews. It鈥檚 a technical interviewer鈥檚 favorite question. This post is one of the many in the series of Interview Questions, where we don鈥檛 just hang you with one line answer, but rather try to explain it so that it gets fits into your head. ...

February 18, 2022 路 6 min 路 Mahesh More
Convert Milliseconds to LocalDateTime in Java8 & Above

Convert Milliseconds to & from LocalDateTime in Java8 & Above

Hey, Tea lovers! This short post is about how you can easily convert the milliseconds to a LocalDateTime Object. This is a very short guide on how to create LocalDateTime via milliseconds. I will also show you the opposite, that is, converting LocalDateTime to milliseconds. Note that, if you want to convert it to LocalDate instead of LocalDateTime, the process is similar. Requirement for the Conversions Well, you will only require Java. Since LocalDateTime or LocalDate in java was introduced from Java 1.8, you will require Java 8 or higher. ...

July 31, 2021 路 3 min 路 Imran Shaikh
Interview Question- IS-A & HAS-A Relationship

Interview Question: IS-A & HAS-A Relationship

Hey, Tea Lovers! Today let鈥檚 look at the most asked interview question,聽IS-A.)& HAS-A relationship. Both beginners and experienced people get this question in their interviews. This post is one of the many in the series of聽Interview Questions, where we don鈥檛 just hang you with one line answer, but rather try to explain it so that it gets fits into your head. I know you are in a hurry to prepare for the interview, so I will make this post as short as possible, So prepare your cup of tea to sip and code. ...

November 29, 2020 路 5 min 路 Mahesh More
Most Loved Interview Question _ Comparator vs Comparable

Interview Question: Comparable vs Comparator

Hey, Tea Lovers! Today let鈥檚 look at the most asked interview question, Comparable vs Comparator. Both beginners and experienced people get this question in their interviews. This post is one of the many in the series of Interview Questions, where we don鈥檛 just hang you with one line answer, but rather try to explain it so that it gets fits into your head. I know you are in a hurry to prepare for the interview, so I will make this post as short as possible, So prepare your cup of tea to sip and code. ...

November 14, 2020 路 11 min 路 Mahesh More
Interview Question: Final vs Finally vs Finalize

Interview Question: Final vs Finally vs Finalize

Hey, Tea Lovers! Today let鈥檚 look at the most asked, tricky, and fumbled interview question i.e. What is the difference between final, finally, and finalize in Java? Most beginners face this question. The thing is, only their names are the same the work is completely unrelated. I know you are in a hurry to prepare for the interview, so I will make this post as short as possible. But before reading, prepare your cup of tea to sip and code. ...

October 14, 2020 路 6 min 路 Imran Shaikh