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

Top 20 Golang Interview Questions with Answers

Hello guys, if you are preparing for Golang Developer Job interview and looking for frequnetly asked Golang Interview questions then you have come to the right place. Golang is one of the modern and in-demand programming language from Google and more and more companies have started using Golang for their flagship project like ByteDance is using Goalng for TikTok and their other projects. In the past, I have shared best Golang courses  as well as free Goalng courses and in this article, I am going to share 20 common Golang Interview Questions with Answers. These questions covers essential Golang concepts which every Golang developer should be familiar with.

Difference between table scan, index scan, and index seek in SQL Server Database? Example

Hello guys, a good understanding of how the index works and how to use them to improve your SQL query performance is very important while working in a database and SQL and that's why you will find many questions based upon indexes on Programming Job interviews. One of such frequently asked SQL questions is the real difference between table scan, index scan, and index seek? which one is faster and why? How does the database chooses which scan or seek to use? and How you can optimize the performance of your SQL SELECT queries by using this knowledge. In general, there are only two ways in which your query engine retrieves the data, using a table scan or by using an index.

How to find Nth Highest Salary in MySQL and SQL Server? Example LeetCode Solution

Nth Highest Salary in MySQL and SQL Server - LeetCode Solution
---------------------------------------------------------------
Write a SQL query to get the nth highest salary from the Employee table.

+----+--------+
| Id | Salary |
+----+--------+
| 1  | 100    |
| 2  | 200    |
| 3  | 300    |
+----+--------+

For example, given the above Employee table, the nth highest salary where n = 2 is 200. If there is no nth highest salary, then the query should return null.

10 Examples of df Command in Linux and UNIX

Hello, In Today’s article we shall be talking about the df command in Linux. The objectives of this article are: What is the df command, and what does it mean? How is it used? I shall be providing 10 different examples or scenarios for it and when to use it

What does df mean?

The meaning of df in Linux is disk-free or disk file system. Which is used to display the file system in the likes of total storage space, available storage space and etc.

Df command in Linux is a command or syntax in Linux that you doing away with it is almost impossible

You may begin to wonder or ask Why or When do You need to use it?

How to use recursive grep command in Linux and UNIX? grep -iR Example tutorial

Hello guys, one of the most common tasks while working on programming projects is finding files containing some specific text like you have your application deployed in the Linux server, and you are migrating your database from one server to another. Now, you want to file all config files and scripts which are referencing your old database using the hostname or IP address, so that you can replace them with an alias. Well, you should always use an alias to connect to the database or any other system, but sometimes it happens you have to use a hostname. Anyway, how do you find all those files containing hostname in your Linux machine? Well, the grep command is here to help you.

Difference between Soft Link vs Hard Links in Linux/UNIX? Answer

Hello guys, if you are looking to find out the difference between a soft link and a hard link in Linux then you have come to the right place. Earlier, I have shared the free Linux courses for beginners and in this article, I am going to explain the soft links and hard links in UNIX operator systems like Linux. There are two types of links in the UNIX system, hard links and soft links, also known as symbolic links or symlinks. Though both points to some other source, there is a lot of difference between them. The most important difference is that a hard link is a direct pointer to the inode of the original file. If you compare the original file with the hard link there won't be any differences between them. 

6 Linux command Examples and One liners Every Programmer Should Remember

Hello guys, Linux is an important skill for any developer or DevOps engineer becuase most of the server-side applications run on Linux boxes. At least you should be familiar with essential Linux commands like ls, cat, ps, top, find, grep, awk, sort, uniq, kill, xargs, curl, lsof, etc. I have shared a lot of useful Linux tutorials in this blog and you can take a look at them to learn about those commands in detail. Today, I am going to share some of the useful Linux one-liners you can use in your day-to-day life. These one-liners are either example of one single command or multiple commands used together to do a certain task like finding duplicate rows in a text file or counting how many times each IP address appear in a text file, much like group by clause of SQL.

How to Find large Files and Directories with size in Linux and UNIX? find + du command Example Tutorial

One of the common problems while working in Linux is finding large files to free some space. Suppose, your file system is full and you are receiving an alert to remove spaces or if your host is run out of space and your server is not starting up, the first thing you do is find the top 10 largest files and see if you can delete them. Usually, old files, large Java heap dumps are good candidates for removal and freeing up some space. If you are running Java applications like core Java-based programs or web applications running on Tomcat then you can remove those heap dump files and free some space, but the big question is how do you find those? How do you know the size of the biggest file in your file system, especially if you don't know which directory it is? We'll try to find answers to some of those questions in this article.

How to send Email with Body and Attachment from Linux Machine? mutt and mailx command Example

One of the common tasks for programmers working in a Linux machine is to send emails and transfer files from Linux machine to Windows machine. While there are utilities like WinSCP which you can use to transfer files between Windows and Linux machine, I generally found using mailx command much easier, especially when you don't have WinSCP or any other utility. But, apart from transferring files between Linux and Windows, there are many more scenarios where you need to send emails from Linux machine, for example, your Java applications are running on Linux like RHEL 5 or RHEL 6 version and you need to send a report of all the clients connecting to your application.

Top 15 UNIX and Linux Interview Questions Answers for 1to 3 Years Experienced

UNIX and Linux Interview Questions and Answers
Hello guys, if you are preparing for technical interviews like Software developer or IT support and looking for some frequently asked Linux and UNIX interview questions then you have come to the right place. In the past, I have shared free Linux courses and today, I am going to share popular Linux and UNIX questions from technical interviews. You might already know that questions from various UNIX operating systems like Solaris, Linux, IBM AIX, or any other UNIX operating system are asked on different support and programming interviews and a good knowledge of essential UNIX concepts and commands goes a long way in cracking these interview as well as working efficiently in your day job. 

How to set JAVA_HOME and PATH in Linux? Example

Hello guys, welcome to the world of Java application programming. One of the hardest things to mater is not any feature but environment-specific details which nobody teaches. To bridge that gap, I am going to cover a couple of very important environment variables like PATH and JAVA_HOME.  The JAVA_HOME environment variable points to the JDK installation directory and is used by many Java tools and applications like TomcatMaven, Eclipse, NetBeans or IntelliJIDEA, etc. to figure out Java executables as they need Java for running. 

How to backup and load Cron Jobs from a File in Linux and UNIX? Crontab Command Example

Hello guys, If you have been using Linux for some time then you might know about cron jobs. They are the scheduler that can be used to automatically start processes in a Linux box. I have worked on many projects which used cron jobs to start the Java process and environment daily or weekly basis. They are similar to Autosys when it comes to scheduling jobs but cron is a Linux command as opposed to Autosys which is a separate application altogether. In Linux, the crontab command is used for scheduling and automating jobs or processes. You can also use it for loading cron jobs from a file, listing existing cron entries, and editing them. It manages the cron table that is used by the cron daemon in Linux to execute the cron jobs.

How to find swap space and usage in Solaris? Swap Command Example

Swap space in Solaris or any UNIX host is a vital disk space that is used for the swapping process from physical memory (RAM)  to disk. Virtual memory allows a process to run even if physical memory gets full by using swap space (which is located on your hard disk) to swap out memory pages that are not currently in use. This is a very important concept which every programmer and Linux user should know. It is even more important if you are working in IT support or as a system admin because if swap space is full then swapping will fail and no new process will be able to start. 

How to send Logging Messages to SysLog using Log4j2 SysLogAppender in Linux ? Java Example

Sometimes you may want to route your log messages to Syslog in UNIX-based environment like Linux. Since logger allows multiple appenders, you can print the same log messages to a log file, console, and route it to Syslog at the same time. In order to send log messages to Syslog using log4j2, you need to make some changes in your log4j2.xml file. This change is to include the Syslog appender and configure that, once you do that you also need to enable TCP or UDP reception by editing rsyslog.conf file. For faster transmission you can choose UDP protocol and configure a port number on which your Syslog is listening, In our example, Syslog is listening on port 618. Let's see the complete step-by-step guide to configure Syslog logging in log4j logger.

5 Ways to implement Singleton Design Pattern in Java? Examples

Hello guys, While Singleton is anti pattern nowadays and dependency injection is better choice as it helps unit testing, its good to know about Singleton pattern, especially if you are in the business of maintaining large and old code base. This article introduces the singleton design pattern and its 5 implementation variations in Java. You will learn different ways to implement a singleton pattern and understand the challenges of creating a singleton class, like thread-safety issues and serialization issues.

How to use Strategy Design Pattern in Java? Example Tutorial

Hello guys, you might have heard about it, Can you tell me any design pattern which you have used recently in your project, except Singleton? This is one of the popular questions from various Java interviews in recent years. I think this actually motivated many Java programmers to explore more design patterns and actually look at the original 23 patterns introduced by GOF. The Strategy design pattern is one of the useful patterns you can mention while answering such a question. It's very popular, and there are lots of real-world scenarios where the Strategy pattern is very handy. 

Top 18 Java Design Pattern Interview Questions Answers for Experienced

Design pattern interview question in Java
Hello guys, if you are preparing for Java interviews and looking for frequently asked design pattern interview questions then you have come to the right place. In the past, I have shared the best courses for Java interviews, and today, I am going to share popular design pattern questions from Java interviews. You can use these questions to both practices and check your knowledge about OOP design patterns. Both OOP and GOF design pattern interview questions are an integral part of any good list of core Java interview questions. Java is a popular Object-oriented programming language and has lots of design patterns and design principles, contributed by many developers and open-source frameworks.

Top 5 Object Oriented Analysis and Design Interview Questions for Programmers, Software Engineers

Testing the design skill of a candidate is quite common in programming job interviews. Questions like, how do you design a vending machine or a traffic control system are very popular in object-oriented programming language interviews, like Java and C++. Designing a software System requires good experience and knowledge of tools of object-oriented design and analysis. You should not only be good at OOP fundamentals like Abstraction, Inheritance, Polymorphism, Encapsulation, Coupling, Cohesion, Association, Aggregation, or Composition but also on several crucial object-oriented design principles like SOLID Principles of Object-Oriented Design, which is the building block for writing flexible and maintainable code.

How to create a thread-safe Singleton in Java using Enum [Example]

Hello guys, the Singleton pattern in Java is used to create a Singleton class that is accessed by a single instance though out the Java program life cycle. Singleton is one of the old but very useful design patterns and used in several core Java libraries including Java Development Kit (JDK); java.lang.Runtime is an example of a Singleton pattern in Java. This class represents a single instance of Java environment running as JVM and provides several utility methods to query important details about runtime like a number of available processors, Java heap memory, etc.

Top 50 Microsoft Software Development Engineer Interview Questions

Hello guys, if you are preparing for Microsoft Software Development Engineer interview or in general preparing for FAANG coding interviews and looking for common interview questions for practice then you have come to the right place. Earlier, I have shared best Coding interview courses and books and in this article, I am going to share you some of the frequently asked questions from Microsoft. Most of the things depending upon for which position you are going like technical analyst, software engineer, Java developer, web developer or internship. If you have a computer science degree and if your job involves coding then you can expect following questions, which are mainly collected from engineers who has appeared on on and off campus interviews.

Difference between Proxy and Decorator Pattern in Java

Though both Proxy and Decorator pattern looks very similar to each other structurally, there are some key differences between them. The main difference between Decorator and Proxy patterns comes from their Intent. Proxy word has a long-standing meaning and in software world also a Proxy class stands for its implementation class, which presents lots of options to the programmer, resulting in different kinds of proxy objects e.g. remote proxy, virtual proxy, and protection proxy. On the other hand, Decorator design pattern is used to add new functionality into an existing object without modifying its class. As we have seen in the previous example how you can use Decorator to add ingredients into Pizza or BufferedReader which adds buffering functionality into Reader class.

10 Examples Of du Command in Linux

 Here, we shall be looking at another command in Linux. The” du” command. Before giving the examples you can use with it I will be explaining the du itself, What is being used for and When to use it, and How to use it

So Firstly, What is DU or What does the command mean?

The full meaning of du is Disk usage. This helps in planning and maintaining the file’s space. The command is used to keep track of any files or directories that are taking up too many spaces in the hard disk drive. Now we shall be taking the examples one after the other.

3 Examples of for loop in Linux and Bash Script [Tutorial]

Hello guys, if you want to learn how to use for loop in bash or Linux then you have come to the right place. Earlier, I have shared free Linux courses and free bash scripting courses, and today, I am going to share three simple examples of using for loop in Linux.  If you are a Programmer, Software Engineer, or System Administrator working in a UNIX or Linux environment, then you will probably find the shell 'for' loop to be a handy tool for automating simple command-line tasks. This is the single command which has helped me a lot while doing production support and performing operational tasks. 

10 ways to Quit/Exit from Vim Editor in Linux/UNIX? Examples

Hello guys, if you are stuck inside VIM editor and looking for a way to come out then you have come to the right place. In the past, I have shared the free Linux courses and today, I am going to talk about Vim or VI editor, one of the most important tools for people working in Linux. You might not know but many developers struggle to get out of commands like Vim and telnet. I can say that because there was a time when I spend a good amount of time coming out from the telnet window.

10 Example of ps -ef command in Linux and UNIX

Hello guys, It's been a long time since I wrote about the Linux command in this blog. In my last article, I have shared free Linux courses for beginners which many of you guys have liked, that's why I am writing another post on Linux, this time about the "ps" command.  If you have worked on a Linux machine then you are likely to be familiar with the "ps" command. The "ps" command is used to check the process status. It stands for "process statistics" and you can use the ps command to see all the processes and find things like PID which can be used to interact with the process. For example, you can kill a process by passing PID to kill command in Linux as shown here.  

10 Examples of df Command in Linux

Hello, In Today’s article we shall be talking about the df command in Linux. The objectives of this article are: What is the df command, and what does it mean? How is it used? I shall be providing 10 different examples or scenarios for it and when to use it

What does df mean?

The meaning of df in Linux is disk-free or disk file system. Which is used to display the file system in the likes of total storage space, available storage space and etc.

Df command in Linux is a command or syntax in Linux that you doing away with it is almost impossible

You may begin to wonder or ask Why or When do You need to use it?

How to add or view SSL certificate in Java keyStore or trustStore? keytool command examples

The keytool command in Java is a tool for managing certificates into keyStore and trustStore which is used to store certificates and requires during the SSL handshake process. By using the keytool command you can do many things but some of the most common operations are viewing certificates stored in the keystore, importing new certificates into the keyStore, delete any certificate from the keystore, etc. For those who are not familiar keyStore, trustStore, and SSL Setup for Java application Here is a brief overview of What is a trustStore and keyStore in Java

10 Advanced Core Java Interview questions for Experienced Programmers

Java interview questions for Senior and Experienced programmer
Java is very big and there is no way to prepare completely for any core java interview but there is a level of the question that depends upon your experience, if you are fresher then questions asked in Java interview are mostly based on fundamentals like Iterator vs Enumeration in Java, Why main is public static and void or maybe ArrayList vs LinkedList in Java. Things changes when you apply for a senior developer, Technical lead, or Team Lead Java position, questions asked on that level are more advanced and less popular among Java circles, you may be asked questions from design pattern, questions from multi-threading, Collections, and even asked to write code, design classes and prepare JUnit tests. 

10 AWT Swing Interview Questions Answers in Java

AWT and Swing Interview Questions are part of any Java interviews which involves GUI development work. Since AWT(Abstract Windows Toolkit) and Swing offers most popular Java GUI solutions, Yes, JavaFX  has still lot of path to cover in terms of popularity and usability of Swing. In Investment banking, where Java rules on server side application development, Swing was heavily used in GUI development couple of years back. Now trends is shifting towards C# for GUI development due to couple of reasons e.g. good Swing developers are not easy to be found as compared to C# developers. By the way there are still many development work is going on Swing. One of the reason Swing developers are high in demand is because Swing is quickly becoming a niche technology.

Top 24 Java Date, Time, and Calendar Interview Questions Answers

The Date and Time API is a significant one for day-to-day Java development work, but many interviewers don't ask enough questions on this topic. Most of the questions are based on either Java Collection framework like  HashMap, ConcurrentHashMap, or ArrayList or multi-threading concepts like volatile, synchronized, and atomic variables. This is not good, and many interviewers have realized that a good understanding of date and time API is also important for a good Java developer. That's the main reason for increasing date, time, and calendar-based Java interview questions in recent times, particularly in the last couple of years.

Top 40 Binary Tree Coding Interview Questions for Programmers

Hello guys, if you are preparing for coding interviews and want to master tree-based questions then you have come to the right place. A tree is one of the most important data structures because it allows you to store hierarchical data as opposed to an array and linked list which allows storing linear data. That's why knowledge of tree data structure is very important from an interview point of view. A lot of programmers and my readers have been asking me to share some binary tree-based coding interview questions, just like I have done for the array, linked list, string, software design, patterns, hash table, and data structure in general. 

Top 20 Project Management Interview Questions Answers for 2 to 5 Years Experienced

Hello guys, if you are preparing for project manager interview and looking for frequently asked Project Management interview questions with Answers then you have come to the right place. In the past, I have shared best books and courses to learn Project Management, including best PMP courses to prepare for popular Project Management Professional Certification and in this article, I am going to share 20 common Project Management related questions from Interviews. But, before we get to some of the most important and frequently asked Project Management interview questions, let me tell you a little bit about what Project Management is.

Top 20 Cloud Computing Interview Questions with Answers

As most of you must already know, cloud computing has recently emerged as a hotspot because of its easy usability. Cloud computing is not just limited to IT and software firms. It is used by companies across sectors like banking, retail, computing, education, and automobile. Many companies all over the world have begun using cloud computing for data storage and implementation. If you are looking to get into cloud computing, opportunities are limitless and the remunerations are high. 

Top 20 Bootstrap Interview Questions With Answers for Web Designers and Developers

Hello guys, if you are preparing for web design and development interview and looking for Bootstrap interview questions then you have come to the right place. Earlier, I have shared HTML 5 Interview Questions and best online courses to learn HTML, CSS and Bootstrap courses and today, I am going  to share bootstrap interview questions with answers.  Here is a chance for you to make sure that you go into that Bootstrap interview with your head up high. Being ready for that interview is the major step that you can make as you seek to impress the interview panel on the interview day.

Top 20 AI Interview Questions with Answers

Hello guys, if you are preparing for AI developer interview and looking for AI Interview questions and answers then you have come to the right place. Earlier, I have shared Python Interview Questions and Machine Learning Interview Questions and in this article, I am going to share 20 common Artificial Intelligence Interview Questions with answers for 1 to 2 years experienced professionals. If you have worked in the field of AI then you most likely know the answers of all of these questions but if you cannot answer then you can always check these best AI Courses to learn and improve your AI fundamental concepts. 

Top 20 Cyber Security Interview Questions with Answers

Hello guys, if you are preparing for Cyber Security Engineer Job interviews and looking for frequently asked Cyber Security Interview questions with answers then you have come to the right place. Earlier, I hare shared best Cyber Security online courses and best Ethical Hacking online courses and in this article, I am going to share 20 common Interview Questions for Cyber Security Professionals. These interview questions are great to revise key Cyber Security concepts, tools, and process before you go for any interview. 

Is it Possible to add static or private methods in Java interface?

Can you add a static or private method in an interface in Java? or is it possible to add a private or static method in Java interface? or can you add a non-abstract method on an interface in Java? are a couple of popular Java interview questions which often pop up during telephonic interviews. Well, prior to Java 8, it wasn't possible to add non-abstract methods in Java but nowadays you can add non-abstract static, default, and private methods in the Java interface. The static and default methods were supported as part of interface evolution in Java 8 and you can add private methods on an interface from Java 9 onwards.

How to use PreparedStatement in Java - JDBC Example Tutorial

PreparedStatement is used to execute specific queries that are supposed to run repeatedly, for example, SELECT * from Employees WHERE EMP_ID=?. This query can be run multiple times to fetch details of different employees. If you use PreparedStatement like above then the database assists in query preparation, which is faster and more secure. Such kinds of queries are compiled, and their query plans are cached at the database side every time you execute it, you will get a faster response as opposed to using simple queries via Statement object, like SELECT * from Employees WHERE EMP_ID + emp_id.

How to Create and Start Multiple Threads in Java? - Example Tutorial

Hello guys, Multithreading is one of the biggest strengths of Java, which allows you to divide a task and execute faster by using more than one thread. In order to use multiple threads in Java, you need to first define the task which will be executed by those threads. In order to create those tasks, you can either use the Runnable or Callable interface. If you are just learning Java chose the Runnable interface, it's a simpler one, but if you are familiar with Java multithreading and want to leverage additional features offered by Callable like it can throw an exception and it can also return value, then go ahead and use the Callable interface. Once you have the task ready, you need to create an instance of the Thread class.

How to use wait, notify, and notifyAll in Java? Example Tutorial

When should you use the wait() and notify method in Java is one of the many popular questions about the wait and notify methods from Java multithreading interview questions. One of the reasons for its popularity is that still a lot of Java programmers struggle to explain and write code using wait-notify methods.  Many Java developer only knows some facts about the wait and notify methods like that wait() and notify() are defined in the java.lang.Object class or you cannot call wait() without synchronization, which means without a synchronized block or synchronized method but doesn't really know when and how to use them.

How to find Factorial in Java using Recursion and Iteration - Example Tutorial

Hello guys, if you are looking for a Java program to calculate factorial with and without recursion then you have come to the right place. Factorial is a common programming exercise that is great to learn to code and how to program. When I teach Java to new people, I often start with coding problems like prime numbers, Fibonacci series, and factorial because they help you to develop a coding sense and teach you how to write a program initially. In order to calculate factorial, you just need to know the factorial concepts from Mathematics, and rest I will explain this simple Java programming tutorial. 

10 Examples of ArrayList in Java for Beginners

ArrayList Example in Java
In this Java ArrayList Example, we will see how to add elements in ArrayList, how to remove elements from ArrayList, ArrayList contains Example, and several other ArrayList functions which we use daily. ArrayList is one of the most popular classes from the Java Collection framework along with HashSet and HashMap and a good understanding of the ArrayList class and methods is imperative for Java developers. ArrayList is an implementation of List Collection which is ordered and allows duplicates

How to check If two Strings Array are equal in Java? Example Tutorial

Hello guys, if you are wondering how to check if two given String array are equal, I mean they contain same number of elements with same values and looking for solution then you have come to the right place. In the past, I have shared several coding questions on different data structures like linked list, binary tree, string, and even system design and today, we shall be working with arrays, Oh arrays are so pretty! And it’s very simple to learn. Having understood the concept of arrays the goal is to be able to check if two String arrays are equivalent. 

What is Diamond operator in Java? Example Tutorial

The Diamond operator is a relatively new operator in Java which was first introduced in JDK 7  to improve type inference and reduce boilerplate Java coding. It is denoted with a closed angle bracket that resembles the shape of a diamond (<>) and that's why it's called the Diamond operator. If used correctly it can reduce typing and boilerplate coding in Java and result in much cleaner and readable code especially when you use Generics.  

How to Join and Merge Two ArrayLists in Java - Example Tutorial

You can use the addAll() method from java.util.Collection interface to join two ArrayLists in Java. Since ArrayList implements List interface which actually extends the Collection interface, this method is available to all List implementations including ArrayList e.g. Vector, LinkedList. The Collection.addAll(Collection src) method takes a collection and adds all elements from it to the collection which calls this method like target.addAll(source). After this call, the target will have all elements from both source and target ArrayList, which is like joining two ArrayList in Java. 

What is Iterator in Java? Example

Hello guys, if you are wondering what is Iterator in Java and how does it work? when you are supposed to use Iterator and what advantages or disadvantages it provide over other methods of iterating over Java Collections then you have come to the right place. In the past, I have shared how HashMap works in Java and How Garbage collection works and in this article, I am going to share how Iterator works and how they simplify iteration irrespective of different collection types. You all may know about Java collections. It has many lists, maps, etc in it. Now, you may know how to use the inbuilt LinkedList or any other collection, but once that collection is built, how will you iterate over it? I know you all are thinking of loops.

Top 15 Java Enum Interview Questions Answers for 3 to 5 Years Experienced

Enum was introduced in Java 5 and since then it's been very popular among Java developers and widely used in different Java applications. Since Enum in Java is much more versatile than Enum in C or C++, it also presents lots of interesting use cases, a couple of them, we have seen in my article 10 ways to use Enum in Java. But, despite being so popular, many Java programmers are still not aware of the functionality provided by Enum and the subtle details of using Enum in Java code. 

Top 43 Java IO and File System Interview Questions with Answers for 1 to 3 Years Experienced

Good knowledge of Java IO API is important for any Java developer but many of them barely pay attention to Java IO and NIO API, and that's why they often struggle during Java interviews when a question related to Input-Output operation is asked. In the past, I have shared many Java interview questions on topics like Collections, Concurrency, JVM internals, Garbage Collection, OOP, Design Patterns, and Data structure based coding problems, which received good feedback and helped many Java developer on their Java Interview preparation. Consequently, many of my readers were also asking about Java IO and File-based interview questions and this was one of the pending items on my TODO list for quite some time.

Top 20 MySQL Interview Questions with Answers

Hello guys, if you are preparing for MySQL and Database interview or a Java developer role with MySQL experience and looking for frequently asked MySQL interview questions and answers then you have come to the right place. Earlier, I have shared popular SQL Interview Questions and common SQL queries from Interviews and in this article, I will share frequently asked MySQL database interview questions with answers. MySQL is very vital as far as web application is concerned. Therefore, this is an area that cannot be taken for granted. This simply means that various questions regarding MySQL have to be asked whenever you are seeking a job.

10 Easy Ways to Create and Sell NFTs (Non Fungible Tokens) in 2023

First, you have to know or understand what NFTs are before getting to know how you can create and sell them. NFT is the short form of Non-fungible Tokens. NFTs are digital assets with a unique identity kept and verified on a blockchain (a digital ledger). Each NFT is non-fungible, meaning it can’t be readily exchanged for another asset of similar value. Common NFT assets include images, video, music, GIFs, and collectibles. 

Top 25 React Native interview Questions Answers

Hello guys, if you are preparing for React Native Developer interview and looking for common React Native Interview questions and answers then you have come to the right place. Earlier, I have shared best free online courses to learn React Native and in this article, I am going to share 25 React Native Questions you can prepare for any Job interview. Mobile application development has advanced at a rapid pace in the last decade. As the usage of mobiles has increased immensely, more and more companies have figured that mobile applications are the future. So because of this increasing demand for mobile applications, the technology has advanced to keep up with the expectations.  

Top 10 C++ Interview Questions with Answers for 1 to 2 years Experienced

Today, for a change I am not sharing any Java interview questions, but I am sharing a few C++ interview questions. There is a good demand for developers who know both Java and C++, particularly in the investment banking domain, as a lot of high-performance applications like client connectivity, exchange connectivity, and order management systems (OMS) are written in C++. If you know both Java and C++ then you have a great chance to get a job in big investment banks like Barclays, Nomura, Deutsche Bank, and other Wall Street Firms.

Top 5 Books to Improve Coding and Programming Skills - Must Read, Best of Lot

Learning a Programming language, like Java, Python, or C++ is easy, but learning to write good code is not. Writing good code is more Art than Science and also an important differentiating factor between an average programmer vs. a good programmer. Since most of the programmers often look for inspiration and resources to improve their coding skill, I decided to share some of the good books which can help them to improve their coding.  Since many universities, colleges, and training courses only teach programming languages but not the art of coding, it still remains one of the self-learned skills which many programmers acquired either in Job or working on real-world projects.

Top 30 OOP (Object Oriented Programming) Interview Questions Answers in Java

Java is an object-oriented programming language and you will see a lot of object-oriented programming concept questions in Java interviews. The classic questions like the difference between an interface and abstract class are always there but from the last couple of years more sophisticated questions based upon advanced design principles and patterns are also asked to check the OOP knowledge of the candidate. Though, Object-oriented programming questions are more popular on Java interviews for 1 to 3 years experienced programmers. 

Top 15 Machine Learning Interview Questions with Answers for 1 to 2 years Experienced

Hello guys, if you are preparing for Machine Learning interviews and looking for frequently asked Machine Learning interview questions then you have come to the right place. Earlier, I have shared the Data Science Interview Questionsbest Machine learning courses, and  essential ML algorithms and In this article, I am going to share common Machine Learning questions from interviews. To be honest, Machine Learning interview is not easy to crack, there can be different types of questions on Machine Learning interviews from key machine learning concepts like training the model to ask different types of machine learning algorithms. 

Top 50 JavaScript Interview Questions for 1 to 2 Years Experienced

Hello guys, you may know that JavaScript is one of the most popular programming languages, having ranking #1 for a couple of years in the StackOverflow survey. There is no doubt that JavaScript is the most popular language or web development. The best thing is that you can use JavaScript to develop both frontend and backend using the same programming language and tech stack. You have so many popular frameworks like React.js, Angular, Node.js, Vue.js to implement sophisticated web applications for different domains. That's why the demand for JavaScript developers is very high, especially full-stack JavaScript developers who can create front-end and back-end applications independently.

8 Difference between TCP and UDP Protocol in Java? Networking Question

What is the difference between TCP and UDP is a popular networking question from Java interviews? Though TCP or UDP is Java independent concept and very likely to be asked in other programming language interviews as well, many programmers do not really understand them clearly. They sure have heard them because TCP and UDP are two of the most important transport protocol of the internet, but when it comes to listing down the difference between them, they fail to mention key differences in terms of ordering, guaranteed delivery, speed, and usage. 

Top 5 Next.js and React.js Framework Courses to learn in 2023 - Best of Lot [UPDATED]

If you are using JavaScript and React or follow web development news then you may know about Next.js, a popular React framework that helps in server-side rendering which improves the user experience of page load ties. Using Server-side rendering also gives you an edge on SEO with a more easily indexable and crawlable website out of the box. Next.js is touted as the next big thing in the web development world and 2023 may be a good time to learn Next.js. If you want to learn Next.js and looking for some excellent resources like books, tutorials, courses, and guides then you have come to the right place. In the past, I have shared the free React courses and books for beginners and In this article, I am going to share some of the best online training courses to learn Next.js from scratch.

Top 20 TypeScript Interview Questions with Answers

Hello guys, if you are preparing for Web developer Interview where TypeScript is mentioned as required skill then you should prepare TypeScript well and if you are looking for common TypeScript interview questions then you have come to the right place. Earlier, I have shared common JavaScript Questions, HTML Questions, CSS questions and Web Development questions and in this article, I am going to share 20 TypeScript interview questions with Answers. I have tried to cover as many TypeScript concepts as possible using these questions and provided to-the-point answers for quick revision. If you have worked as TypeScript developer or used TypeScript in past then you can easily answer these questions but if you cannot then you can always join these best TypeScript courses to learn and revise TypeScript concepts quickly. 

Top 5 Free Microsoft Power BI Online Courses for Beginners to Learn in 2023 - Best of Lot [UPDATED]

Hello guys, if you want to learn Power BI in 2023, one of the leading too for Data Visualization and Business Analytics, and looking for free resources like free online courses, books, and tutorials, then you have come to the right place. Earlier, I shared the best Power BI courses. In this article, I am going to share the best free online training courses to learn Microsoft  Power BI. Many people think that free resources are inferior and just created for marketing reasons, they are somewhat correct but it's not always true. There are many free resources that are even better than paid courses. For example, these free courses have been created by experts and trusted by thousands of developers and tech people who want to learn Power BI. 

Top 5 Gifts You can Buy for Programmers, Coders, and Software Developers in 2023 - Best Gifts [UPDATED]

If you are planning for a surprise gift to your programmer boyfriend and husband this holiday season like Black Friday, Christmas, or New Year, or maybe on his next birthday, but not sure what to gift, then you have come to the right place. In this article, I am going to share some of the best gifts ideas for programmers and developers, gifts that every programmer wishes for. To be honest with you, buying a gift is easy, but finding the right gift is very tough. I have spent countless hours on the internet to find a perfect gift for one of my colleague's husbands, and this article is a result of that research.

Top 10 NFT, Metaverse, and Web3 Courses on Udemy for Beginners - Best of Lot

Hello guys, if you want to learn NFT, Metaverse, and Web3, three future technologies and looking for best online courses then you have come to the right place. Earlier, I have shared best free NFT courses and in this article, I am going to share best NFT courses on Udemy as well best online courses to learn Metaverse and Web3 from Udemy. But,  Before I give you a list of the 10 best courses that will teach you everything you need to know about NFTs and Metaverse, let me tell you a little bit about what web3 is and why people are talking about it.

Top 10 Java Multithreading Courses for Beginners in 2023 - Best of Lot [UPDATED]

Hello guys, if you want to learn multithreading and concurrency in Java and looking for the best learning material like books, tutorials, and online courses then you have come to the right place. Earlier, I have shared the best Core Java courses and best data structure and algorithm courses and in this article, I am going to share the best online courses to learn Multithreading in Java. These courses are curated from the best online learning websites like Udemy, Pluralsight, and Coursera and will teach you Java Multithreading from scratch. But, before we get to the best courses that you can use to learn more about multithreading in Java, let me tell you what multithreading exactly is.  

Top 5 Free Coursera Courses for SQL and Database in 2023 - Best of Lot [UPDATED]

Hello guys, if you want to learn SQL and Database and looking for best free resources like books, online courses and websites then you have come tot he right place. Earlier, I have shared best SQL courses, SQL books, and best websites to learn SQL and in this article, I am going to share best free SQL courses from Coursera, one of the best place to learn technical skill from world's top university and companies online. While many people are familiar with Coursera courses and certifications then don't know that most of the Coursera courses can be taken for free-to-audit where you can watch them for free without enrolling on specialization or professional certification. Only thing is you don't have access to quizzes and exercise sand you don't get certificate but you can still learn from worlds' top trainers and instructors. 

Top 6 Free Courses to Learn Ethical Hacking and Penetration Testing in 2023 - Best of Lot [UPDATED]

Hello folks, if you want to learn Ethical Hacking and looking for free online courses, then you have come to the right place. Earlier, we have shared the best Cyber Security Courses, best CompTIA Security+ exam courses, and today, we are doing share free Ethical hacking courses for you. Most of us have even a little bit of knowledge about the subject or industry that would be ideal if you start a career in that field, but the problem for most people is finding the right course or program that help you master these skills and become professional in the field and click on this article likely shows that you are interested in ethical hacking.

Top 10 Java 8 Tutorials, Classes, and Courses in 2023 - Best of Lot [UPDATED]

Hello guys, if you want to learn Java 8, in a particular lambda expression, Stream API, method reference, and new Date and Time API, and looking for the best resources then you have come to the right place. Earlier, I have shared the best  Spring Framework courses and free Java courses and today, I am going to share the best tutorials to learn Java 8 features. It's a long time since Java 8 was released, and there are so many Java 8 tutorials are written by Oracle, Java bloggers, and other people, but which should you read? Which tutorials are worth your time? 

Top 5 Spring Boot Annotations with Examples in Java - Tutorial

Annotations have completely changed the way you write Java code. It's now impossible to write any Java code without using annotations but that's for good. They provide a lot of value and that's why it's important for a Java developer to get familiar with essential annotations of the framework he or she is using. When I think about Java, some of the essential annotations which come to our mind are @Override, @SuppressWarning, and @Deprecated. Similarly, if you are using the Spring Boot framework, an extension of the Spring framework which aims to simplify the Java development with Spring, you will often end up using a couple of annotations like @SpringBootApplication or @EnableAutoConfiguration.

How to convert Java object to JSON String using Gson? Example Tutorial

If you are a Java or Android developer and learning JSON to support JSON format for your project and looking for a quick and simple way to convert your Java object into json format then you have come to the right place. In this article, I'll teach you how to convert a Java object to a JSON document using Google's Java library called Gson. This library allows you to convert both Java objects to JSON String and a JSON document to Java objects. So, let's first do some serialization. Serialization in the context of Gson means mapping a Java object to its JSON representation.

Top 10 Oracle Database and PL/SQL Courses for Beginners in 2023 - Best of Lot [UPDATED]

Hello folks, if you are learning Oracle database and want to learn PL/SQL programming language and looking for the best resources like books, online courses, tutorials and articles then you have come to the right place. In the past, I have shared the best free SQL and database courses, PL/SQL books, and a few free Oracle courses, and this article will introduce you to the Oracle SQL database and how they work as well as the PL language and how you can use its commands to interact with the oracle SQL database in 2023. 

Top 5 Courses to Learn PyTorch and Keras for Beginners in 2023 - Best of Lot [UPDATED]

Hello guys, if you want to learn PyTorch and Kearas from scratch and look for the best PyTorch and Keras online courses, you have come to the right place. In the past, I have shared the best machine learning courses and best TensorFlow courses, and today I will share the best Keras and Pytorch courses for beginners and experienced programmers. PyTorch and Keras are two deep learning libraries developed by two big companies, Facebook and Google, aiming to facilitate the creation of deep learning applications like face recognition and self-driving cars, and so on.

Top 5 Best Free Courses to learn JDBC Java Programmers in 2023 - Best of Lot [UPDATED]

Hello guys, If you are a Java programmer and looking for some free and best JDBC courses to start learning database access in Java, then you have come to the right place. In this article, I am going to share some of the free and paid online JDBC (Java Database Connectivity) courses from popular sites like Udemy and Pluralsight to give you a head-start in your long journey of writing real-world Java application which interacts with the database. Since Data is the utmost important part of any Java application, it's imperative to have a good knowledge of how to interact with the Database from Java application, and JDBC is the first step in that direction.

Top 10 Free Git Courses and Tutorials for Beginners in 2023 - Best of Lot [UPDATED]

Hello guys, there is no doubt that Git is one of the most essential tool and skill for every programmer and Software developer. Gone are the days where different companies uses difference version control like SVN, CVS, or TFS, now almost every company uses Git which has become the standard source repository and version control tool. That's why its important for every programmer to learn Git and its not that easy. Git is a distributed version control system and there are things like remote repository, local repository, commit, pull, push, fetch, rebase, merge etc which can be confusing to many programmers and that's why I am going to share best free Git courses you can join to learn Git in 2023.

3 ways to convert String to JSON object in Java? Examples

It's very common nowadays to receive JSON String from a Java web service instead of XML, but unfortunately, JDK doesn't yet support conversion between JSON String to JSON object. Keeping JSON as String always is not a good option because you cannot operate on it easily, you need to convert it into a JSON object before you do anything else e.g. retrieve any field or set different values. Fortunately, there are many open-source libraries which allows you to create JSON object from JSON formatted String like Gson from Google, Jackson, and json-simple. In this tutorial, you will learn how to use these 3 main libraries to do this conversion with step-by-step examples.

10 Best Java Online Courses and Tutorials for Beginners in 2023 [UPDATED]

Hello everyone! if you want to learn Java Programming and become a Java Programmer in 2023 and looking for the best resources like books, online courses, tutorials, projects, and websites, you have come to the right place. Earlier, I have shared the best Java books for beginners, best Java websites, best Java tutorials, and free Java courses. Today, we will go through some of the best online courses for learning the Java Programming language. These Java online courses are curated from top websites and learning platforms like Coursera, Udemy, Educative, CodeCademy, Javaespecialist, etc. 

Top 5 Free Excel Tutorials and Courses for Beginners in 2023 - Best of Lot [UPDATED]

Hello guys, If you want to learn Microsoft Excel, a productivity tool for IT professionals, and looking for free online courses, then you have come to the right place. In the past, I have shared some Microsoft Excel courses for beginners and some advanced Excel courses for experienced programmers, which are very liked by you guys. Still, I also receive many requests to share some free resources to learn Microsoft Excel like free books, free online courses, and free tutorials, and that's why I am going to share the best free Microsoft  Excel courses from sites like Udemy in this article which you can use to learn this helpful tool online.

Top 5 MEAN stack online Courses to Learn Web Development in 2023 - Best of Lot

Hello guys, if you want to learn MEAN stack to become a full stack web developer, you have come to the right place. I have been sharing valuable courses to learn modern tech stack like in the past, I have shared the best courses to learn MERN stack, and in this article, I will list the top 5 MEAN stack courses that explain every concept nicely and properly. The MEAN (Mongo, Express, Angular, and Node) stack is undoubtedly the most popular software stack in full-stack web development. The demand for full-stack developers has increased tremendously in recent years. This pandemic has also given the digital push to many companies, which means the demand will only increase. 

Why String is Immutable or final in Java - 5 Reasons

There is hardly any Java Interview, where no questions are asked from String, and Why String is Immutable in Java is I think most popular Java String question. This question is also asked as Why String class is made final in Java or simply, Why String is final. In order to answer these questions, Java programmer must have a solid understanding of how String works, what are special features of this class, internal structure and implementation of String and some key fundamentals. The String class is a God class in Java, It has got special features which is not available to other classes like String literals are stored in string pool

Top 5 Courses to Learn Smart Contract for Beginners in 2023 - Best of Lot

Hello friends, if you want to learn Blockchain and Smart Contracts and looking for best online resources like books and courses then you have come to the right place. Earlier, I have shared best online courses to learn Blockchain, best Ethereum courses, and best NFT courses and today, I will share best online courses to learn Smart contracts in 2023. The list includes best smart contract courses from Udemy and Coursera and suitable for both beginners and experienced developers and IT professionals. Today we are gonna discuss something which is immensely practical and has the potential to land you very high paying jobs. Today we are gonna take a look at the best available smart contract courses online.

[Solved] How to remove duplicate elements from Array in Java? Example

This is one of the common technical interview questions which are asked to entry-level programmers and software engineers. There are also a lot of variants of how do you remove duplicates from an array in Java, like sometimes the array is sorted, and other times it's not sorted or unsorted. Sometimes, the Interviewer just spends more than half of the interview on this question by progressively making it more difficult by imposing new constraints like removing duplicate elements in place or without using any additional data structure, etc.

Difference between Array vs ArrayList in Java

What is the difference between Array and ArrayList is quite a common question among beginners especially those who started coding in C and C++ and prefer to use Array? Both Array and Array List are used to store elements, which can be either primitive or objects in case of Array and only objects in case of ArrayList in Java. The main difference between Array vs ArrayList in Java is the static nature of the Array and the dynamic nature of ArrayList. Once created you can not change the size of Array but ArrayList can re-size itself when needed. 

6 Free Courses to learn Machine Learning and Deep Learning in 2023 - Best of Lot

Hello guys, if you want to learn Machine learning and Deep learning in 2023 and look for the best online courses and tutorials, you have come to the right place. In this article, I will share some of the best free classes to learn Machine learning and Deep learning online. By the way, If you are thinking of learning Data Science, Machine learning, or Deep learning, you are not alone; more and more people are starting with these advanced skills worldwide. I have seen a lot of interest from Indian engineers in machine learning and the Artificial intelligence space. They are totally caught up with the craze of developing programs that can recognize numbers, alphabets, vehicles, and several other image scanning stuff.

Top 5 Free Courses to learn Node.js in 2023 - Best of lot

Node JS has completely changed the way JavaScript is used for development. Earlier JavaScript was considered as a client-side language because it runs on a browser and is mostly used for client-side validations, animations, and interaction. Node.js takes that to the next level by allowing JavaScript to run on a server-side, which means you can now write JavaScript applications that can execute without a browser. Node JS uses Google Chrome's execution engine and asynchronous processing to do this. All you need to is include a node.js script in your application, and you are ready to create server-side applications in JavaScript, which wasn't possible until a few years back.

Top 20 Tailwind CSS Interview Questions with Answers

Hello guys, if you are preparing for web designer or web developer interview where Tailwind CSS skills are needed and you are looking for common Tailwind questions to prepare for interview then you have come to the right place. Earlier, I have shared common CSS interview questions and Bootstrap questions, another important CSS framework and in this article, I am going to share 20 frequently asked Tailwind CSS interview questions with answers. These questions covers essential Tailwind concepts and if you have worked with Tailwind or used Tailwind in past then you can easily answer these questions but if you forgot and struggle to answer them then you can also checkout one of these best Tailwind CSS books and courses to learn and revise Tailwind concepts quickly.