Disclosure: This article may contain affiliate links. When you purchase, we may earn a small commission.

10 Examples of Stream Class in Java 8 [ map + filter+ flatmap + collect + findFirst ]

There is no doubt that Stream class is one of the most important class of Java SE 8 API and a solid knowledge of this class is needed to write modern day Java code. There is no excuse to write the Java code we used to write in imperative style like using loops and not using functional programming idioms. In fact, now it's one of the best practice in Java to favor functional programming and immutable data structure over imperative programming. More and more Technical Leads are enforcing developers to learn Java 8 and write better code leveraging improved API. The Java designers has done a fantastic job to convert any collection to Stream by adding stream() method into Collection interface. 

Difference between ByteBuffer vs byte array in Java

There are several differences between a byte array and ByteBuffer class in Java, but the most important of them is that bytes from byte array always reside in Java heap space, but bytes in a ByteBuffer may potentially reside outside of the Java heap in case of direct byte buffer and memory mapped files. Buffer is a byte array like abstraction which was introduced in Java NIO release to read and write data from FileChannel. It is extensively used in Java NIO for transferring data from one place to another and its also an essential Java concepts to know for any backend developer, particularly those who wants to create non-blocking server application using NIO in Java

Can you declare Abstract Class or Method Final in Java? If not, why?

If you are wondering whether you can use both abstract and final modifier together with a class or method in Java then you are not alone. This is one of the frequently asked, theory based Java questions which is sometime tricky to answer, particularly if you don't have complete knowledge of Java fundamentals. The answer of this question is No, you can not declare abstract class or method final in Java because both abstract and final keywords are mutual exclusive. Anything which is abstract cannot be final and vice-versa. It's like a person cannot be living and dead at the same time.

Top 10 Google Interview Questions for Software Engineer - Books, Resources

Hello guys, if you are preparing for Google's Software Development Engineer roles and looking or Google Software Interview questions then you have come to the right place. Earlier, I have shred Amazon and Microsoft Interview questions and in this article, I am going to share popular questions from Google Interviews. These Google interview questions are some of my favorites collected from different sources. Every Programmer knows that Google is one of the best technology companies and its dream for many software developers to work for Google, but at the same time interview process at Google is very tough and only a few genuine intelligent programmers get through their interview process

Difference between var, let, and const in JavaScript? Example Tutorial

Hello guys, there are many ways to declare variables in JavaScript like var, let, and const and many JavaScript developer get confused when to use which keyword for declaring a variable in JavaScript. If you also have same doubt and want to understand the difference between var, let, and const in JavaScript then you have come to the right place. This is one of the popular JavaScript interview questions and frequently asked during telephonic and face-to-face round of web developer interview. Knowing the difference will not only make you answer this question better during interview but also to write better JavaScript code in your day-to-day work. Earlier, I have shared the best books and JavaScript courses for beginners and in this article, I will tell you the difference between varlet, and const and when to use them. They are three different ways to declare variables in JavaScript. 

The 2023 Android Developer RoadMap

Hello guys, if you want to learn Android in 2023 or want to become an Android developer and looking for an Android Developer RoadMap then you have come to the right place. Earlier, I have shared best Android Courses and Books and in this article, I am going to share with you one of the most comprehensive Android Developer RoadMap you can find online. I love these Roadmap as they provide a comprehensive picture of what exactly you need to learn to become a professional Android developer and while they give more than what you need, its still better to have more than less as you can always learn remaining skills to become a better Android developer. 

Top 15 Advanced Java ClassLoader Interview Questions and Answers for Experienced Developers

Hello guys, if you are preparing for Java interviews and want to refresh your knowledge of Classloaders in Java then you have come to the right place. Earlier, I have shared Java interview questions on Collections, Multithreading, Serialization, and Generics, and in this article, I am going to share frequently asked Java interview questions about class loaders. If you don't know, a class loader is a program that loads classes in Java programs. The mechanism of class loading is very important to understand how the Java program works. When you run a Java program you give the name of the main class, from their onwards, built-in classloaders like Bootstrap classloader start loading not just the main classes but other Java library classes which is required to run that program. 

Top 20 Data Science Interview Questions and Answers

Hello guys, if you are preparing for Data Science interview or want to become a Data Scientist and looking for common Data Science questions then you have come to the right place. Earlier, I have shared Machine Learning Questions, Python Interview Questions, and AI Interview Questions and in this article, I am going to share common Data Science Interview Questions and answers for beginners and people with 1 to 2 years of experienced. There is a good chance that you are already familiar with these questions and can answer all of them if you have worked for a couple of years in Data Science field but if you struggle to answer any questions then you can always join these best Data Science courses to learn and revise those Data Science concepts. 

Top 15 Java NIO, Socket, and Networking Interview Questions Answers for Experienced Developers

Hello guys, if you are preparing for Java developer interview then you may know that Networking and Socket Programming is one of the important areas of Java programming language, especially for those programmers, who are working in client server-based applications. Knowledge of important protocols like TCP and UDP in detail is very important, especially if you are in the business of writing high-frequency trading applications, which communicate via FIX Protocol or native exchange protocol. In this article, we will some of the frequently asked questions on networking and socket programming, mostly based around TCP IP protocol.