HTML

How to Convert Stream to ArrayList in Java 8 - Collectors.toCollection() Example

You can use Collectors.toList(), toSet(), and toMap() to get all elements of Stream into any Collection like List, Set or Map, but if you want to get a particular collection e.g. ArrayList, then you need to use Collectors.toCollection(ArrayList::new) method. This method first creates an ArrayList using method reference and then adds all elements of Stream into the ArrayList. It's very useful if you have a long list of String and you want to create a smaller list containing only String starting with the letter "b"  like "Bluehost"

Top 10 Free Java Courses for Beginners and Experienced Programmers - Best of Lot

Hello guys, the Internet is full of useful resources, and no matter what you want to learn, there is something useful available for free. You just need to commit your time and effort. But at the same time, it's challenging to choose from the massive sea of free tutorials and courses on the internet. If you are not careful, you will spend most of your time browsing and changing classes without learning anything. That's where a curated list helps. Curation is my hobby and passion. I love to read books and courses which allows me to curate useful resources and share them with you guys.

Caused by: java.sql.SQLSyntaxErrorException: ORA-01722: invalid number - Solution

Hello guys, if you are getting below error in your Java program and wondering how to solve this or just stuck then you have come to the right place. In this article, I will explain to you what causes the " java.sql.SQLSyntaxErrorException: ORA-01722: invalid number" error when you connect to an Oracle database from a Java program and how you can solve it. 

But, first of all, let's take a look at the stack trace of this error which looks like below:
Caused by: java.sql.SQLSyntaxErrorException: ORA-01722: invalid number  at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:445)
        at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
        at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:879)
        at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:450)
        at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:192)
        at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
        at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:207)
        at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:884)
        at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1167)
        at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1289)
        at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3584)
        at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3628)
        at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1493)

Top 10 Java 9 and Module Tutorials and Courses - Best of Lot Must Read

It's been more than a couple of years or so since JDK 9 was launched, and the new year is probably the best time to learn Java 9 and get yourself familiar with new features and enhancements on existing APIs. The highlight of the JDK 9 release was Project Jigsaw or Module system. The Java 9 Platform Module System allows Java to move forward by modularizing the JDK as well as adding modules as first-class citizens to Java, but that's not the only thing to look forward to, there are many small changes that are very useful in day-to-day coding.

Java 8 Optional isPresent(), OrElse() and get() Examples

The Optional class in Java is one of many goodies we have got from the Java 8 release. If you use it correctly, Optional can result in clean code and can also help you to avoid NullPointerException which has bothered Java developers from its inception. Even though many of us have used null to indicate the absence of something, the big problem is that if you call a method or access a field on the null object (except static fields), you will get a NullPointerException and your whole program may crash. 

Top 5 Free Big Data Courses for Java Programmers to Learn Hadoop, Spark in 2021 - Best of Lot

Hello Java Programmers, If you want to learn Big Data technologies in 2021 like Hadoop, Apache Spark, and Apache Kafka and you are looking for some free resources like books, courses, and tutorials, then you have come to the right place. In this article, I am going to share some of the best free online courses to learn Hadoop and Spark from Udemy and Pluralsight at your own pace. I personally like to start with FREE resources before I have enough knowledge to choose the right book or enroll in a little expensive course. It's also my passion to surf the web to find great free resources and share them with you guys.

3 Examples to Loop over a List in Java - ArrayList, LinkedList or Vector

3 ways to Loop through a List in Java
There are multiple ways to traverse or loop through a List in Java e.g. by using an Iterator, by using an enhanced for loop of Java 5, and not the forEach() method of Java 8. Given a List is an index-based collection if you know the index you can retrieve an object from a List and because of this, you can also use a traditional for loop which keeps count for iterating a List. Now the question is whether should you use the Iterator or enhanced for loop, or the forEach() method of Java 8 for looping over List in Java. 

Top 5 Free Courses to Learn C# (C-Sharp) in 2021 - Best of Lot

Many people underestimate the power of C# and never think highly of it when they talk about programming languages. Still, the truth is that C# is one of the popular programming languages of today's world, just behind JavaScript, SQL, and Java on StackOverFlow's Developer Survey for the last couple of years. There are a lot of jobs and opportunities available for experienced C# developers. It's one of the critical languages for developers working with Microsoft technologies like Windows and SQL Server. It is also one of the most popular programming languages for developing desktop GUI, surpassing Java Swing entirely in the last couple of years. I have seen many big investment banks switched from Swing to C# for their GUI development work.

Java 8 - Map and Reduce Example

Hello folks, the map-reduce concept is one of the powerful concepts in computer programming, particularly on functional programming which utilizes the power of distributed and parallel processing to solve a big and heavy problem in a quick time. From Java 8 onwards, Java also got this powerful feature from the functional programming world. Many of the services provided on the internet like Google Search are based on the concept of the map and reduce. In map-reduce, a job is usually split from the input data-set into independent chunks which are processed by the map tasks in a completely parallel manner. The framework then sorts the outputs of the map operation, which are then supplied to the reduce tasks.

6 Free Blockchain Online Courses and Certifications for Beginners in 2021 - Best of Lot

Hello guys, if you want to learn Blockchain development and looking for some free Blockchain courses then you have come to the right place. Earlier, I have shared my favorite and best blockchain courses for programmers and a lot of you asked for free online courses to learn Blockchain so today, I am going to share the best free Blockchain development courses you can join in 2021. Blockchain is one of the most in-demand technologies and one skill that you should learn in 2021. It will not only help in your career but also raise your profile. This is one thing I have highly recommend programmers to learn this year. 

4 Examples to Convert an int to String in Java [UPDATED]

Hello guys, if you new to Java programming and wondering how to convert an int to a String object in Java then don't worry, you have come to the right place. Earlier, I have shown you how to convert an Integer to a String and in this article, I will show you how to convert an int variable to a String in Java. The difference between an Integer and an int is that the former is an object while an int variable is a primitive value. You can use the String.valueOf() or Integer.toString() method to convert an int value to a String object in Java. Remember, String is not just a char array but a full feature object in Java. 

Top 5 Free Android Development Courses for Beginners in 2021 - Best of Lot

Hello guys, If you are passionate about creating mobile games and applications and want to learn how to develop Android apps or want to become an Android application developer, then you have come to the right place. In this course, I am going to share some of the best and free Android development courses for Java programmers and others. You might know that earlier Java was the only language that is used to create Android applications. Still, since last year, Google has announced Kotlin as the official language for Android app development, which means you can use either Kotlin or Java to create Android apps.

3 ways to Convert Integer to String in Java [Example]

Hello guys, this is the second part of the String to Integer data type conversion tutorial in Java, in the first part you have learned how to convert String to Integer, and in this article, you will learn the opposite i.e. convert from Integer to String. Actually, you can apply all the tricks, which I had told you before about converting long to String, and autoboxing will take care of converting int to Integer in Java. But, if you care for performance and believe in not using auto-boxing when not needed then there are still a couple of ways that directly converts an Integer object to a String like the Integer.toString() method, which returns a String object and doesn't have any auto-boxing overhead. Let's see a couple of more ways to convert an Integer to a String in Java.

How to Queue Interface in Java? Example Tutorial

The JDK provides an implementation of several data structures in the Java collection framework like ArrayList is a dynamic array, LinkedList represents a linked list, HashMap represents a hash table data structure, and Queue interface represent queue data structure. Btw, If you are not familiar with data structure itself, then you can also see Introduction to Data Structures & Algorithms in Java, an excellent course to start with the essential data structure in Java. The Queue data structure allows you to process elements in the first in first out order, and that's why it is also known as a FIFO data structure. 

How to Convert Date to LocalDate in Java 8 - Example Tutorial

Hello guys, if you want to learn how to convert old Date to new LocalDate in Java 8 then you have come to the right place. Earlier, I have shared 10 examples of LocalDate in Java 8, and in this article, I am going to teach you how to convert Date to LocalDate in Java. you may know that JDK 8 introduced the new Date and Time API, which has got a new set of shiny date classes like LocalDate, LocalTime, etc, but you still have a lot of code written against java.util.Date? In order to work with that code, you should know how to convert java.util.Date to java.util.LocalDate in Java. 

Top 5 Free HTML and CSS Courses for Frontend Developers in 2021 - Best of Lot

HTML and CSS are two pillars of web development, they are used to create web pages you see every day. HTML provides the structure to your web page, and CSS gives them the style to look better. If you want to become a front-end web developer or web designer, then a good knowledge of HTML and CSS is a must. Even though modern-day web development is all about framework and library, like  Angular and React, you still need to know HTML and CSS to understanding what's going on and troubleshoot any issue you face while developing a web application. Btw, JavaScript is another pillar of web development, but we'll not discuss this article. I have already shared some good books and courses to learn JavaScript before

How to Convert a Stream to List, Set, and Map in Java [Examples]

Hello guys, if you are wondering how to convert a Java Stream to Java Collections like List, Set and Map then you have come to the right place. Earlier, I have shared free Java Courses for beginners and in this article, I am going to share examples to convert Stream to ArrayList, LinkedList, HashSet, TreeSet, LinkedHashSet, TreeMap, HashMap, and ConcurrentHashMap in Java. These are easy-to-follow examples and suitable for both beginners and experienced Java programmers.  In Java 8, Stream is one of the most important classes as it allows a lot of useful functional operations like filter, map, flatmap, etc on a collection of objects. Hence, going forward converting a Collection to Stream, performing operations, and then converting the result back to different Collection classes like List, Set, and Map will be a common task. 

Top 5 Free Swift Programming Courses for Beginners in 2021- Best of Lot

Hello guys, how are you doing this lazy Saturday? You might be thinking, as a Java developer why I am suggesting you learn Swift. Still, the truth is that I am not suggesting you abandon Java and join Swift, I am suggesting you join Swift if you want to develop iOS applications. We all use Apple's products, and we love them; I have used iPod, iPhone, iPad, Apple Watch, and even MacBook, and every time I use their product, I just say wow, and Swift is no different from that. It's a programming language from Apple, so you will find all the features which make Apple product great.

How to Retrieve First and Last Element of LinkedList in Java [Example]

Hello guys, if you are wondering how to get the first and last element from Java LinkedList then you have come to the right place. Earlier, I have shared the best Data structure and algorithms courses and in today's post, I will teach you how to get the first and last element of a linked list in Java. This is one of the common coding problems but we will see it from different angles. In Java, you don't need to write and create your own LinkedList, there is a built-in class called java.util.LinkedIn and you can use that class whenever you need a linked list data structure. 

Top 5 Free Courses to learn Node.js in 2021 - 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 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.

Difference between private and final class, method, and variables in Java?

Hello guys, one of the common questions among Java beginners is what is the difference between a private and final keyword in Java? The confusion arises because they are very similar and used in a similar context. For example, you can make a class, a method, and variable final as well as private. Both put some kind of restriction like you cannot override a final method in Java and the private method is not even accessible outside the class, so obviously you cannot override it. The main difference between private and final keywords in Java is that private is primarily an access modifier, which controls the visibility of variables, methods, and classes in Java applications, while final is just a modifier that enforces additional constraints on the field, method, and class in Java.

10 Books and Courses to Prepare Technical Programming/Coding Job Interviews

If you are preparing for a technical interview in the software development sector and looking for some great books to boost your preparation, then you have come to the right place. In the past, I have hared some of the best online courses to prepare coding interviews. In this article, I am going to share some of the best programming/coding interview books to prepare well for any software development jobs. These books are enough to crack even the toughest of the job interviews at GoogleAmazon, or Microsoft. They provide excellent coverage of all essential topics for programming job interviews like data structure and algorithms, system design, algorithm design, computer science fundamentals, SQL, Linux, Java, Networking, etc.

Top 5 Free R Programming Courses for Beginners - Best of Lot

More and more people are learning the R programming language to become a Data Scientist, one of the hottest and high-paying technical jobs on the planet. Though I am from Python camp when it comes to choosing between Python and R for Data Science, Machine Learning, and Artificial Intelligence, mainly because of the excellent libraries Python offers, I had tried R for a short time. If you are also in the same boat and want to try or learn R programming for Data Science and machine learning purposes and looking for some excellent free courses to start your journey, then you can take some ideas from this article.

RegularEnumSet vs JumboEnumSet in Java

Hello guys, the difference between RegularEnumSet and JumboEnumSet in Java was asked in a recent Java interview with one of my friends, unfortunately, he hasn't explored this topic well and couldn't answer this question precisely, but he made sure to learn about EnumSet after that. When he discussed this topic with me, I really liked it because, despite the usefulness of EnumSet and its fast implementation, not many developers know about it, despite being mentioned in Java's classic Effective Java. This makes me write this post, where we will mainly discuss a couple of differences between RegularEnumSet and JumboEnumSet in Java, but we will also touch base upon some of the important properties of EnumSet.

How to swap two Integers without using a temporary variable in Java?

One of the oldest trick questions from a programming interview is, How do you swap two integers without using a temp variable? This was first asked to me on a C/C++ interview and then several times on various Java interviews. The beauty of this question lies both in the trick to thinking about how you can swap two numbers without the third variable, but also problems associated with each approach. If a programmer can think about integer overflow and consider that in its solution then it creates a very good impression in the eye of interviewers.

Top 5 Courses to learn System Design and Software Architecture in 2021 - Best of Lot

Software design or System design is one of the tricky concepts to master. You can quickly learn a programming language like Java or Python, but creating software using that programming language is a totally different thing. That's where software design and coding skills come to the rescue. It's actually an art to structure your program, design your modules, specify boundaries and interactions with other parts of the system so that they are easier to read, maintain, and flexible to change. It's one of the most essential skills for a software developer but often gets ignored. If you look for an online course to learn Software design and architecture, you won't find many, forget about good ones.

Top 5 Free Courses to learn PHP and MySQL in 2021 - Best of lot

If you want to build web applications quickly like overnight or over the weekend, then PHP and MySQL are the right choices and because of this power, they are also the best language for freelancing and startups where quick turnaround time is required. PHP and MySQL are incredibly powerful open source technologies that allow programmers and web developers to create functional websites and apps that go way beyond basic HTML. PHP is specially designed to generate interactive and dynamic websites and is also known as the server-side scripting language, while MySQL is one of the leading relational databases along with Oracle and Microsoft SQL Server.

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.

How to Reverse words in String Java? [Solution]

Hello guys, if you are wondering how to reverse words in a given String in Java then you have come to the right place. Earlier, I have shared 75 Programming interview questions and In this Java Coding tutorial, you will learn how to reverse words in String. It's also one of the popular coding questions, so you will also learn how to take a requirement, how to fill gaps in the requirement by asking the right question. A String is nothing but a sentence, which may contain multiple works, or just contain a single word or it may be empty. Your program must produce a String that contains the word in reverse order, for example, if the given input is "Java is Great" then your program should return "Great is Java".  

Top 5 Natural Language Processing (NLP) Courses to Learn in 2021 - Best of Lot

Hello guys, if you want to learn Natural Langauge Processing (NLP) and looking for the best online training courses then you have come to the right place. Earlier, I have shared the best courses to learn Data Science, Machine Learning, Tableauand Power BI for Data visualization and In this article, I'll share the best online courses you can take online to learn Natural Langauge Processing or NLP.  These are the best online courses from Udemy, Coursera, and Pluralsight, three of the most popular online learning platforms. They are created by experts and trusted by thousands of developers around the world and you can join them online to learn this in-demand skill from your home.

2 Ways to solve FizzBuzz in Java? [Solution]

Hello guys, if you are learning to code or preparing for interviews and looking how to solve the FizzBuzz problem in Java then you have come to the right place. Earlier, I have shared 75 programming exercises and in this article, I will teach you how to solve the FizzBuzz problem in Java. FizzBuzz is one of the most frequently asked questions on programming interviews and used to filter candidates on Coding interviews who can't code. It looks extremely simple but it's tricky for those programmers or coders who struggle to structure their code or lack the ability to convert a simple algorithm into code. 

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

It's a long time since Java 8 was released, and there are so many Java 8 tutorials are written by Oracle, bloggers, and other peoples, but which should you read? Which tutorials are worth your time? Actually, this question is asked to me by one of my reader called John, he was asking me about some good Java 8 tutorials, which he can read to start with. This encouraged me to take a look at some of the Java 8 tutorials available on the internet and form a list of the best.

3 Examples to reverse an Array in Java [Solution]

Hello guys, today we are going to see another common coding question from interviews - how do you reverse an array in Java? This is a popular array-based coding problem and often asked programmers during the first few rounds of interviews to check if they can code or not. Well, there are multiple ways to solve this problem and we will see three common ways to ever an array in Java. This method applies to all kinds of arrays like string array or integer array or even with arrays of objects because it's not focused on data types. The first way to reverse an array is by reversing it in a brute force way, without using any additional data structure or library method. 

Top 5 Free Power BI Courses for Beginners to Learn in 2021 - Best of Lot

Hello guys, if you want to learn Power BI in 2021, one of the leading too for Data Visualization and Business Analytics, and looking for free resources like free online courses then you have come to the right place. Earlier, I have shared the best Power BI courses, and today, IA m going to share free online training courses to learn Power BI. These free courses have been created by experts and trusted by thousands of developers and tech people who want to learn Power BI. They are also from reputed sites like Udemy and edX which many of you have already familiar with. The best thing about these courses is that they are completely free, you don't need any credit card, all you need is a free account to join these online courses and learn Power BI.

3 Books and Courses to Learn RESTful Web Services using Spring and Java

Hello guys, if you know the Spring framework, then there is a good chance that you have heard about the classic Spring in Action book by Craig Walls. It's one of the best books to learn Spring, and many Java developers, including me, have learned Spring from that. But, even though the Spring in Action 5th Edition is one of the best books to learn Spring framework, it's just not enough to learn the intricacies of developing a modern, full-featured RESTful Web Service using Spring Framework. It does have a chapter on developing RESTful Web Services. It nicely explains concepts like @RestController, @ResponseBody, @ResponseStatus, HTTP message converters, content negotiation, but that barely touches the surface of developing a production-quality RESTFul Web Service.

How to calculate Sum of Numbers using Array in Java [Example]

Hello guys, if you are thinking about how to calculate the sum of all numbers in a given integer array then you have come to the right place. Earlier, I have shared 75 programming questions from the interview and in today's coding problem, you will learn how to write a program to calculate the sum of array elements in Java. As part of this coding problem, you need to write a method that will accept an integer array and it should return the total sum of all the elements. The array could contain both positive and negative numbers but only decimal numbers are allowed. 

Top 5 Free Apache Spark Course for Java, Scala, and Python Programmers

Hello guys, if you are thinking of learning Apache Spark to start your Big Data journey and looking for some excellent free resources, e.g., books, tutorials, and courses, then you have come to the right place. In this article, I am going to share some of the best, free online Apache Spark courses for Java, Scala, and Python developers. If you don't know what is Apache Spark? And Why it's so crucial in the Big Data world, then let me give you a brief overview first. Apache Spark is another cluster computing framework like Hadoop, which is used to analyze a vast data set. Still, it's much faster as compared to Hadoop, which makes it ideal for today's high computing needs, like processing a massive amount of data.

How to Find Highest Repeating Word from a File in Java [Word Count Solution]

Hello guys, if you are looking for a Java program to print the word and their count from a given file then you have come to the right place. Earlier, I have shared 100+ Data Strucutre and Algorithms Problems from interviews and in this article, I will show you how to find worlds and their count from a given file in Java. How to find the word and their count from a text file is another frequently asked coding question from Java interviews. The logic to solve this problem is similar to what we have seen in how to find duplicate words in a String, where we iterate through string and store word and their count on a hash table and increment them whenever we encounter the same word. 

Top 5 Scala and Functional Programming Books & Online Courses in 2021 [Best of Lot]

Hello guys, if you are a Java developer who is interested in learning Scala or someone starting with Scala afresh and looking for some awesome Scala resources like books, courses, and tutorials then you have come to the right place. In the past, I have shared some free Scala courses to start with and today, I will share some of the best books to learn Scala and Functional Programming, particularly Java developers. While in this age of online courses, fewer and fewer people are using books to learn a new technology or skill but in my opinion, both books and courses have different purposes. I have taken many online courses and read even more books so I can tell that books are almost always more in-depth and provide comprehensive coverage than courses.

How to Print Floyd's Triangle in Java - Example Tutorial

Hello guys, In the last article, I have taught you how to print Pascal's triangle and in today's article, I'll teach you how to print Floyd's triangle in the Java program. Floyd's triangle is easier to print than Pascal's triangle because you don't need to take care of formatting the numbers as Floyd's triangle is a right-angle triangle. It is named after American computer scientist Robert Floyd, who has also contributed Floyd–Warshall algorithm, which efficiently finds all shortest paths in a graph, and Floyd's cycle-finding algorithm for detecting cycles in a sequence. 

Top 10 Free Courses to learn Full Stack Development in Java Online - Best of Lot

Hello guys, if you want to become a full-stack Java developer and looking for free online Java Full-stack development courses to kickstart your career then you have come to the right place. Earlier, I have shared the best Java full-stack development courses and today, I am going to share 10 of the free online courses you can join to become a full-stack Java developer. The long journey of becoming a full-stack Java developer is not easy. You need to know all the details, from the front end to the backend. Not only these you need to know how things function in databases and connectivity.

3 Ways to Find or Count Duplicates in Java Array [Solution]

Hello guys, if you are wondering how to find duplicates from a given array in Java then you have come to the right place. This is one of the most popular coding problems from interviews and there are multiple ways to solve this problem. In this article, I will show you three ways to solve this problem. First, you will learn how to solve the problem using brute force way and then you will see how you can optimize and simplify the solution by using additional memory and using an appropriate data structure like a HashSet or Hash table. In the real interview, you may need to solve this problem in some constraints like you cannot use additional memory or additional data structure that's where knowing multiple ways to find duplicate in Java array really help.

Top 5 Free Azure Solution Architect Technologies (AZ -303/304, AZ-300/301) Courses to Crack Exam in 2021

Hello guys, if you are preparing for Azure Solution architect technologies certification with code AZ--303 and AZ-304 or its older version AZ-300 and AZ-301 and looking for free online courses to start your preparation then you have come to the right place. In the past, I have shared the best courses to pass Azure FundamentalsAzure Administrator, and Azure Architect certifications and today I am going to share free online courses to prepare for the AZ-303 exam. Since this exam is fairly new, released in June 2020, there are not many free AZ-303 and AZ-304 courses are available online but since the topics haven't changed drastically, you can still use the old AZ-300 and AZ-301 courses to start your preparation.

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

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. 

Top 5 Agile and Scrum Courses for Programmers in 2021 - Best of Lot

If you are a programmer, software developer, team lead, or project manager who wants to learn Agile and Scrum in 2021 and looking for the best Agile courses then you have come to the right place. Earlier, I have shared free Agile courses and books, and today, I am going to share the best Agile and Scrum online courses you can join in 2021 to learn these in-demand skills. The Agile software development approach is a powerful approach that is very popular among the development community. As technology is advancing at a rapid pace, the client expectations are high and the delivery time is less.

Top 5 Online Courses to Learn Flexbox, Grid, and Advanced CSS for Web Designers in 2021

Along with HTML and JavaScript, CSS is one of the core technologies of the World Wide Web (WWW) and critical skills for anyone who wants to start their career in web design and web development. No website in the modern world is complete without CSS and it is safe to say, no one can become a complete web developer without CSS. If you want to learn advanced CSS concepts like Flexbox, Grid, and Saas and looking for the best online courses then you have come to the right place. In the past, I have shared some free courses to learn CSS basics and Bootstrap, one of the most popular CSS frameworks for styling web pages, and today I will share advanced CSS courses to learn Flexbox and Grid.

6 Best HTML5 and CSS 3 Courses for Beginners to Learn Online in 2021

Hello guys, if you want to learn HTML and CSS to become a web designer and developer and looking for the best HTML and CSS courses then you have come to the right place. In the past, I have shared the best free courses to learn HTML and CSS, and in this article, you have a selection of the best courses you can have to learn a lot about HTML5 and CSS3 online.  In this article, I am going to share the best HTML5 courses from sites like Udemy, Coursera, Pluralsight, and edX for beginners and experienced developers. These online training courses and classes are created by experts and trusted by thousands of developers to learn HTML5 and CSS3 online in 2021

How to Find 2 Largest Number from Integer Array in Java [Solution]

Hello guys, I have been sharing a lot of Programming interview questions and coding problems to learn programming better which is appreciated by you guys. In this post, I have come with other simple programming problems for Java beginners. I love to share short programming problems because they help in developing programming sense. Many people will argue against simple problems like prime numbers, palindrome, and factorial, but I really find them useful, especially for beginners. A beginner is far away to solve a complex data structure problem or even more complex problems like those that appear in TopCoder or other programming sites. Programmers learn gradually and they need the joy of doing something and seeing results much quicker than any other. Small success motivates them.

Top 5 Online Courses to Learn MEAN stack in 2021 - Best of Lot

Hello guys, if you want to learn MEAN stack to become a full stack web developer then you have come to the right place. I have been sharing useful 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 undoubtfully the most popular software stack in full-stack web development. The demand for full-stack developers has increased tremendously in recent years and this pandemic has also given the digital push to many companies which means the demand is only going to increase. 

How to Check If Given String has Only Unique Characters in Java? [Solution]

Hello guys, if you are looking to solve the classic problem "checking if a String has all Unique characters" or not then you have come to the right place. Earlier, I have shown you how to reverse String in place, and in this article, I will show you how to check for unique and duplicate characters in String.  You need to write a program to determine if a given string has all unique characters or not. For example input= "Java" then your function should return false because all characters are not unique, and if the input is "Python" then your program should return true because all characters in Python are unique.

Top 5 Online Training Courses to Learn Linux in 2021- Best of Lot

Hello guys, if you want to learn Linux operating systems and Linux command lines and looking for the best Linux courses then you have come to the right place. In the past, I have shared some free Linux courses and bash scripting courses for programmers and developers and many of you asked for more comprehensive online Linux courses to learn Linux in-depth, which motivates me to write this article. In this article, you will find the best Linux online training courses from Udemy, Pluralsight, Coursera, and edX, my favorite online learning platforms. 

How to find largest and smallest number from integer array - Java Solution

Hello guys, if you have gone through any coding interview or have done some professional Software development then you know that a good understanding of array data structure is crucial for any software developer but it doesn't come for free, you need to spend time and effort. The best way to develop this understanding by solving coding problems and there are lots of programming exercises beginners can do. One of them is writing a program to find the smallest and largest number in an integer array. Java programmers are no different than others, so they can do this program in Java, not just to understand array but also different relational operators available in Java.  

Top 5 Online Courses to Learn Spring Boot in Depth - Best of Lot

Hello guys, if one of your goals is to learn Spring Boot in 2021, and I have started working towards it. As I have talked about my 3 point action plan to learn new technology, the first step is to attend some online courses and start building from that. If you are not sure what is Spring Boot and why should you learn Spring Boot, then let me tell you that it should be the first Java framework you should learn in 2021. The Spring Boot makes it really easy to work with the Spring framework by removing all the starting hurdles concerning setup and configuration. In one word, it makes it possible to write a Spring-based Java application and run them like core Java applications, like from the primary method.

Top 5 Free React Native Courses for Beginners in 2021 - Best of Lot

Hello guys, if you are learning React Native to make cross-platform apps and looking for some free courses to learn React Native then you have come to the right place. In the past, I have shared the free courses to learn ReactJS, and the best React Native courses, and today I am going to share the best free online training courses to learn React Native. The list includes both React Native crash courses as well as comprehensive courses to learn React Native in depth. There is a huge demand for cross-platform app frameworks like React Native and Flutter which allows you to create native-looking iOS and Android apps with the same code base.

5 Best Git Online Courses for Beginners to Join in 2021[UPDATED]

Hello guys, if you want to learn Git and Github and looking for the best resources then you have come to the right place. Earlier, I have shared free Github courses and free websites, and in this article, I am going to share the best online courses to learn Git from Udemy, Pluralsight, and other online portals. There is no doubt that both Git and Github have become standard source control and code repository for software developers. There was a time when multiple version control rules the world like CVS, SVN, VSS, Mercury, and TFS, but slowly and for better, everything has converged to Git. Now, almost 70 to 80% programmer uses Git for version control and Github repository, both public and private, for storing their source codes. 

Top 5 Free Courses to Learn TypeScript in 2021 - Best of Lot

If you are interested in learning TypeScript or Angular, one of the popular JavaScript frameworks for developing front-end, which uses TypeScript, and looking for some resources like books, tutorials, and courses, then you have come to the right place. In this article, I am going to share some of the best, free TypeScript online courses you can use to learn this powerful programming language. For those who don't know TypeScript, it's a new dynamically typed programming language from Microsoft that augments JavaScript's programming syntax by adding some new features which help in object-oriented application development, particularly the introduction of Types.

Top 6 Online Course to learn Java 9, 10, 11,12 and 14 in 2021 - Best of Lot

Hello guys, even though Java 15 is available now, many developers are still on Java 8 and not really caught up with changes in Java 9, 10, 11, 12, 13, or Java 14. If you are also in the same boat and want to start with Java 9 features, then you have come to the right place. In this article, I am going to share some of the best online courses to learn changes in Java 9, 10, 11 and later add more courses for Java 12, 13, 14, and 15. These JDK releases are packed with some powerful features like modules, API enhancements like factory methods for an immutable list, set, and map, some changes on stream API and optional class, new features on process API, etc. 

Top 5 Free C++ Courses for Beginners to Learn Programming Online - Best of Lot

Hello, guys, you might know that C++ is one of the most popular and powerful object-oriented programming languages, and if you want to do low-level stuff, then it's the best language to start with. Most of the complex software like Operating Systems, Database Management Systems, and Powerful trading systems, are written in C++. While many of us have learned to program by using C and C++, let me honest with you; learning C++ is challenging, especially if you are coming from Python or Ruby background. There are many areas that are tough to grasp like pointers and memory management, but you will learn them slowly, and that's where these free C++ courses will help you.

How to solve NullPointerException in Java [Tips]

Hello Java programmers, if you want to learn what is NullPointerExcpeiton in Java and how to deal with ith then you have come to the right place. NullPointerException in Java is an unchecked Exception defined in java.lang package and comes when a member of an object either field or method is called on an object which is null. null is a keyword in Java that means nothing and the calling method on an object whose value is null will result in NullPointerException. Since the default value of Object is null, if you call any method or access any field on an Object which is not initialized will throw NullPointerException

Top 5 Computer Vision and OpenCV Courses to Learn in 2021 - Best of Lot

Hello guys, if you want to learn Computer Vision and OpenCV and looking for the best computer vision online courses from Udemy, Coursera, and Pluralsight then you have come to the right place. Earlier, I have shared the best online courses to learn Python, Data Science, and Machine Learning from Coursera and Udemy, and in this article, I am going to share the best online training courses to learn both Computer Vision and OpenCV. The list includes courses for both beginners and experienced programmer who wants to learn the advanced concept of Computer Vision and Open CV.  It's one of the most existing fields of Machine Learning and Artificial Intelligence and has uses across industries like object detection, self-driving cars, robotics, and much more.

How to check if a Number is Power of Two in Java? [Bitwise AND Example]

Hello guys, if you are thinking about how to check if a given number is a power of two without using an arithmetic operator like division then you have come to the right place. In Java, you can use bitwise operators like bitwise AND check if a given number if the power of two or if the given number is even or odd. In this Java Programming tutorial, you will learn how to check if the number is the Power of two using a bitwise operator. The main purpose of this program is to teach you how to use bit-wise operators like bitwise AND (&)  in Java. A number is said to be the power of two if all its prime factors are 2, but in the binary world, things work a little differently. 

Top 5 Free Online Courses to Learn Eclipse and JUnit for Beginners - Best of Lot

Both Eclipse and JUnit are two of the essential tools for Java Developers. Eclipse is a Java IDE, Integrated Development environment which allows you to code, run, and debug Java program from a single window. At the same time, JUnit is a unit testing library that will enable you to test your Java code automatically. You can write JUnit tests, and then you can run them automatically using Maven or Gradle plugin at build time. You can further automate your build using Jenkins, which means your Unit test will run continuously and automatically, reporting any break at the earlier possible opportunity.

How to reverse a String in place in Java - Example

One of the common Java coding interview questions is to write a program to reverse a String in place in Java, without using additional memory. You cannot use any library classes or methods like StringBuilder to solve this problem. This restriction is placed because StringBuilder and StringBuffer class define a reverse() method which can easily reverse the given String. Since the main objective of this question is to test the programming skill and coding logic of the candidate, there is no point in giving him the option to use the library method which can make this question trivial. Now, how do you solve this problem? If you are familiar with an array data structure then it would be easy for you. Since String is backed by a character array, you can use the same in-place algorithm we have used to reverse an array in place.

Top 5 Free Courses to Learn Ruby on Rails for Beginners in 2021 - Best of Lot

Hello guys, welcome to this post, here you will find some of the best free courses to learn Ruby programming language and Ruby on Rails framework online from Udemy. If you don't know what Ruby is and what is Rails framework, then let me tell you that it's one of the simplest programming languages with little to no syntax. If you are new to programming or never coded before, then also developing a Ruby application will be much more comfortable than choosing any other programming language like Python or Java. When it comes to developing web development, Ruby on Rails also makes your job easy by making several useful assumptions based upon convention, which means you can do more by writing less code.

Matrix Multiplication in Java using Scanner, Class, and Function [Example]

Hello guys, if you are looking for a matrix multiplication example in Java using the scanner for user input, and using class and object-oriented programming then you have come to the right place. In this Java tutorial, I will show you how to multiply matrix in Java using an array, scanner, and object-oriented programming. We will create a class to represent matrix and then define a multiplication method to multiply two matrics in Java. I first learned about matrix in class 12th and I first wrote the program to multiply two matrices on my first semester of engineering, so, when I thought about this program, It brings a lot of memories from the past. 

7 Free Selenium Testing Courses to Learn Online in 2021 - Best of Lot

Testing is an integral part of software development, and we have long been relied on manual testing by testers and QA professional to ship quality software and find bugs, but that's not sustainable anymore. There is an increased focus on automation testing nowadays, and Selenium is leading the way with its web drivers. If you don't know what selenium is, it's a free automation testing tool for web applications. It can work with different web browsers like Chrome, Firefox, Internet Explorer, Opera, and simulate human-like behavior. By using Selenium, you can programmatically interact with all the different elements on a webpage. You can click on them, input text, extract text, and so much more.

2 Ways to Find Factorial of an Integer Number in Java [Recursion + Iteration Solution]

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. 

Top 5 Free AWS Developer Associate Certification Courses in 2021 - Best of Lot

Hello guys, if you are preparing for the AWS Certified Developer Associate exam and looking for free online courses then you have come to the right place. In the past, I have shared the free online courses to prepare for AWS Cloud Practitioner and SysOps Administrator certifications and today I am going to share free online training courses to prepare for the prestigious AWS Developer Associate exam. The exam requires hands-on experience with AWS but that's not enough, you also need to prepare all the exam topics and that's where these online courses can help you. These are the best and completely free courses from websites like Udemy, Coursera, freeCodeCamp, and Youtube and you can use them to prepare for this prestigious AWS cloud certification. 

How to Check if an Array contains a Number or String in Java [ Linear Search vs Binary Search]

Hello guys, one of the common coding questions from Java interviews is how to test if an Array contains a certain value or not? This is a simple question, but sometimes interview pressure makes candidates nervous. In this article, you'll learn how to solve this problem using different approaches. Since an array in Java doesn't have any inbuilt method for searching values, interviewers prefer to ask this question, to see how a candidate deals with such a situation. If you have good knowledge of Java API, then you will immediately come to know that there are alternatives available like using the binarySearch() method of Java Java .util.Arrays class or taking advantage of ArrayList contains method by first converting your array to ArrayList.

10 Best Coursera Certifications & Specializations to Join in 2021 [UPDATED]

Hello folks, if you are looking for the best Coursera courses, certifications, and specialization to start your career in IT or make a career switch then you have come to the right place. Coursera is one of the leading online portals and brings the best learning material, courses, and certifications from the worlds' top universities like the University of Michigan and top companies like Google, IBM, and Amazon. Learning on Coursera is a great way to learn in-demand tech skills as well as recognition and certification to showcase them to recruiters and companies looking to hire.  

Top 10 Free Online Courses to Learn Data Structure and Algorithms in 2021 [UPDATED]

Algorithms and Data Structure are two of the most fundamentals and essential topics from Computer Science, which is used everywhere in software development. I firmly believe that a good knowledge of these two topics is also crucial to become a better programmer because a person who has a good understanding of algorithms and data structures can make thoughtful choices and write programs that can handle changes better and perform well. They are also essential to crack coding interviews at top tech companies like Google, Microsoft, Amazon, Facebook, and Apple, which puts a lot of emphasis on candidate's ability to use existing data structures and algorithms to solve complex problems they have never seen before.

How to Check if Given Number is Prime in Java - With Example

Hello guys, today, we are going to discuss one of the most common programming exercises for beginners is, write a program to check if a given number is prime or not? There are many ways to check if a number is prime or not, but the most common of them is the trial division, which is what we will see in this tutorial. In my opinion, these kinds of programs are their first steps towards algorithmic understanding. You first come up with a solution, which is driven by the fact that prime numbers are natural numbers, that are not divisible by any positive number other than 1 and themselves. Then, you write a for loop to check every number, starting from 1 to a given number, to see if the given number is divisible by any positive number or not. This leads you to the solution.

Top 5 Free Jenkins, Docker, DevOps, Maven, and Kubernetes Courses for Java Programmers [UPDATED]

Hello guys, you might have heard about DevOps and all the attention it is getting now. DevOps is a new phenomenon, and there is a mad race among senior developers to become a DevOps engineer. Well, I am not one of them as my passion is for becoming a software architect, but I have indeed spent some time learning DevOps just to increase my knowledge of the field as I strongly believe in the phrase, jack of all and master of one :-). In the DevOps world, tools matter a lot, and the whole of the DevOps phenomenon to create an automated pipeline for delivering quality software heavily relies on clever uses of tools like Maven, Jenkins, Docker, Kubernetes, and others.

Top 8 Websites to Learn JavaScript Coding for FREE

Hello guys, if you want to learn JavaScript and looking for the best websites to learn JavaScript programming for FREE then you have come to the right place. Earlier, I have shared the best free JavaScript courses and paid JavaScript courses and in this article, I am going to list down the best websites to learn JavaScript for FREE. We live in a world of the internet, which is full of resources. You can learn whatever you want and that too, without spending too much money. If you're going to learn JavaScript, there are plenty of websites where you can learn JavaScript online for FREE

How to Find Greatest Common Divisor of two numbers in Java - [ Euclid's algorithm GCD Example]

How to find the Greatest Common Divisor of two numbers in Java
Simple Java program to find GCD (Greatest Common Divisor) or GCF  (Greatest Common Factor) or HCF (Highest common factor). The GCD of two numbers is the largest positive integer that divides both the numbers fully i.e. without any remainder. There are multiple methods to find GCD, GDF, or HCF of two numbers but  Euclid's algorithm is very popular and easy to understand, of course, only if you understand how recursion works. Euclid's algorithm is an efficient way to find the GCD of two numbers and it's pretty easy to implement using recursion in the Java program. According to Euclid's method GCD of two numbers, a, b is equal to GCD(b, a mod b) and GCD(a, 0) = a.

Top 5 Free Online Courses to learn JavaScript in 2021 - Best of Lot

Hello guys, If you want to learn JavaScript in 2021 by yourself and looking for some free resources like books, sites, and tutorials, then you have come to the right place. Earlier, I have shared the best JavaScript online courses to learn JavaScript in depth and In this article, I am going to share some of the best free JavaScript online courses you can join to learn JavaScript by yourself, on your own schedule, and at your own place. A lot of people are learning JavaScript, and the number is only increasing with each passing day, and why not? It's the #1 web development language. It got tons of useful frameworks and libraries like Angular, React Node.js, and jQuery, which makes web development really easy.

Top 5 Free Object-Oriented Programming Courses in Java for Beginners [UPDATED]

The OOP or Object Oriented Programming is a paradigm that allows you to write a program by modeling real-world things in terms of class and object. It not only make representing a real-world thing in the programming world smoother but also allows you to manage the complexity of your program. Even though there are several programming paradigms, like procedural and functional, most of the code we write today is object-oriented, and some of the most popular programming languages are object-oriented, like Java, Python, PHP, and JavaScript all supported object-oriented programming.

Top 5 Golang Courses to Learn Go Programming Language in 2021 - Best of Lot

Hello guys, if you want to learn the Go programming language in 2021 and look for the best Golang online courses then you have come to the right place. Earlier, I have shared the best JavaScript Courses, and today, I am going to share about one of the modern programming languages called Go or Golang. This popular, next-generation, highly efficient programming language is created by none other than Google, creator of Angular, Android, Flutter, and Dart to make their software development process smoother and better. In 2009, Google set out to create a new programming language that was fast, productive, and fun-to-code but without compromising readability, productivity, and simplicity, and that' how to Go programming language was born.

Top 6 Free Courses to Learn Web Development in 2021 - Best of Lot

Hello guys, I have been sharing a lot of free online courses and books on various technology and programming language like Python, Java, C++, JavaScript, PHPReact, Angular, Spring in this blog for quite some time, and today I have brought some great free courses to learn the basics of web development. Web Development is an essential skill for programmers in this era of Startups. As a programmer or software developer, you should know how to create a website and how to create a mobile app of your own. Though it's not easy. Coding is like art, and many people are born with a coding sense; I mean they love coding; they love to create stuff like websites, mobile apps, games, etc. and they love to automate things.

Top 6 Free Maven and Jenkins Online Courses for Java Programmers [ UPDATED]

Hello Java programmers,  if you want to learn Maven and Jenkins and looking for free resources like free online courses then you have come to the right place. Earlier, I have shared the best Maven courses and best Jenkins courses and in this article, I am going to share the best free Jenkins and Maven courses for Java programmers.  if you have been doing professional Java development then you know that Maven and Jenkins are two of the most popular tools in the Java world. Maven helps to organize your project and provide support to build and deploy Java projects while Jenkins can provide continuous integration and delivery by completely automating build and deploy projects.

Top 5 Free Angular Courses for Beginners to Learn Online - Best of Lot

Google's Angular is one of the most popular JavaScript frameworks for creating web apps. It helps you in creating complex web applications in less time. It's maintained by Google, so you can also rest assured that this powerhouse of a framework is built with speed and purpose and here for the long run. The Angular Framework is also the most popular framework in the world for developing single-page applications.  The framework was first launched as Angular JS, which allowed building a web application using the Model View Controller concept, and it was hugely popular, but it was later re-written completely, which is now known as simply Angular or Angular 2.

Top 5 Free Amazon Web Services or AWS Courses to Learn in 2021- Best of Lot

Hello guys, if you are thinking about learning cloud technologies or cloud computing, and looking at the various cloud providers like AWS, GCP, or Azure, then you are going in the right direction. The future lies with Cloud, and it's essential for every developer to learn about cloud computing solutions. When we talk about Cloud, the first thing that comes to mind is AWS, the biggest Cloud Computing platform, and that's why I suggest a lot of developers learn it. If you want to learn Amazon Web Services, popularly known as AWS, and looking for some excellent resources like books, courses, and tutorials, then you have come to the right place.

Top 5 Courses to learn MERN Stack in 2021 - (MongoDB, Express.js, React.js, and Node.js)

The popularity of the MERN stack development has grown significantly in recent years. The MERN stack is one of the two popular JavaScript stacks, along with the MEAN stack, and used to develop single-page dynamic web applications.

MERN stands for MongoDB, Express.js, React.js, and Node.js.
  • MongoDB: A popular NoSQL database. It stores data in JSON format.
  • Express.js: A flexible and minimal web framework for Node.js.
  • React.js: A JavaScript library used to create user interfaces.
  • Node.js: A runtime environment used to execute JavaScript outside the browser.

Top 5 Free Courses to Learn React in 2021 - Must Join, Best of Lot

React.js, React JS, or React is one of the most popular frameworks or Javascript libraries for building user interfaces. It's backed by Facebook, and it's often viewed as an alternative to the tremendous Angular framework by Google. React is also very flexible, fast, easy to learn, and fun to work with. It is designed to make the process of building modular, reusable user interface components simple and intuitive and that's why most of the modern GUI and web applications are build using the React framework. It is developed at Facebook and it focuses on the 'View' aspect of MVC in web applications. The component-based development is one of the biggest advantages of the React library which is both rich and extensible.

How to Print Prime Numbers from 1 to 100 in Java [Solved]

Hello guys, today, I'll share with you a simple problem of writing a Java program to print prime numbers up to a given number like saying prime numbers from 1 to 100. It's one of the most common coding exercises for programmers learning in Java, as it gives you an opportunity to learn more about the essential operators in Java Programming. The key here is that you cannot use a library function which can simplify your job, you need to devise the algorithm for checking prime number by yourself. One of the most popular algorithms for generating prime is Sieve of Eratosthenes,  which we have discussed earlier, but in this post, we will take a simpler approach.

How to Find Duplicate Characters in String [Java Coding Problems]

Hello guys, today's programming exercise is to write a program to find repeated characters in a String. For example, if given input to your program is "Java", it should print all duplicates characters, i.e. characters appear more than once in String and their count like a = 2 because of character 'a' has appeared twice in String "Java". This is also a very popular coding question on the various level of Java interviews and written tests, where you need to write code. On the difficulty level, this question is at par with the prime numbers or Fibonacci series, which are also very popular on junior level Java programming interviews and it's expected from every programmer to know how to solve them.