HTML

Why Learn Docker Container and DevOps in 2021

Hello guys, I have been asking my readers to learn Docker since last year. Why have I been doing this? Because Docker is not just another tool, it's a game-changer, and I firmly believe that every Programmer, be it a Java developer, a C++ developer, or a Web Developer coding in JavaScript, all should learn Docker. The first and foremost reason is that Docker simplifies both the development and Deployment of Software projects, for example, you can deploy a Java Microservice in the same way as a node application once you wrap them in a container. Just like Maven made it easy to maintain project dependencies, Docker takes it to another level by building applications and shipping them into containers.

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 sort an Array in descending order in Java [Example]

Sorting an array is one of the common tasks in Programming and you have many algorithms to sort an array, like QuickSort, MergeSort which provides O(NLogN) time performance and Bucket Sort, Counting Sort, and Radix Sort algorithms which can even sort some array in O(N) time. But, you hardly need to code these algorithms by hand when it comes to writing real code. The Programming language you will use already has tried and tested implementation for those algorithms and that's what you will learn in this article. In Java Programming language, it's easy to sort an array, you just need to call the Arrays.sort() method with a Comparator which can sort the array in the order you want but it highly depends upon which type of object is stored in the array.

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.

How to Remove an Element from an Array in Java? [Example Tutorial]

Hello guys, In the last article, you have learned how to reverse an array in place in Java, and today I have come back with another array-based coding interview question. It's also one of the frequently asked coding questions, not as popular as the previous one but still has been asked a lot of times on various Programming Job interviews, particularly to beginners. In this problem, you are asked to write a program to remove a given number from the given array. It may seem easy, but the trick is that because an array is a fixed data structure and you cannot change the length of the array once created. 

6 Best HTML5 and CSS3 Courses for Beginners to Learn 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

QuickSort Algorithm Example in Java using Recursion

The Quicksort algorithm is one of the very popular sorting algorithms in programming, often used to sort a large array of numbers. Though there is numerous algorithm available to sort a list of objects, including integer, string, and floating-point number, quicksort is best for general purpose. It's a divide and conquers algorithm, where we divide the given array with respect to a particular element, known as 'pivot' such that the lower partition of the array is less than the pivot and upper partition elements of the array are higher than the pivot.

Top 5 Flexbox, Grid, and Advanced CSS Courses for Web Designers - Best of Lot

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.

How to Remove an Element from Array in Java with Example

There is no direct way to remove elements from an Array in Java. Though Array in Java objects, it doesn't provide any methods to add(), remove(), or search an element in Array. This is the reason Collection classes like ArrayList and HashSet are very popular. Thanks to Apache Commons Utils, You can use their ArrayUtils class to remove an element from the array more easily than by doing it yourself. One thing to remember is that Arrays are fixed size in Java, once you create an array you can not change their size, which means removing or deleting an item doesn't reduce the size of the array. This is, in fact, the main difference between Array and ArrayList in Java.

5 Best Django Online Courses for Beginners to Learn in 2021

Hello guys, if you want to become a Python web developer and looking for the best online courses to learn Django, Flask, and Python web development then you have come to the right place. In the past, I have shared the best Python courses and the best Flask courses and today, I am going to share the best course to learn everything about Python web development. you may know that Python is a multi-purpose programming language meaning that you can use it in different fields such as GUI application, artificial intelligence, and web application, and much more, just to name a few.

Top 5 AWS Cloud Practitioner Certification (CLF-C01) Courses, Practice Tests, and Exam Dumps

Hello guys, If you are preparing for AWS Certified Cloud Practitioner and looking for some affordable awesome online training courses and practice tests to start your preparation then you have come to the right place. Earlier, I have shared free AWS Cloud Practitioner courses, and in this article, I am going to share the best AWS Certified Cloud Practitioner certification online training courses for beginners and anyone who want to learn about AWS and Cloud Computing and also want to earn a certification. In this list, I have selected some of the finest courses from Udemy, Whizlabs, and other places that are both tried and trusted and helped thousands of people to pass these prestigious AWS and Cloud certification. They are also very affordable and you can take all these AWS Cloud practitioner training tests online.

How Binary Search Algorithm Works? [Java Example without Recursion]

The binary search algorithm is one of the fundamental Computer Science Algorithms and used to search an element in a sorted input set. It's much faster than the linear search which scans each and every element and improves performance from O(n) to O(logN) for searching an element in the array. In order to perform the binary search, you need a sorted array, so you can either ask the user to enter the array in sorted order or you should sort the array before performing the binary search. It's also one of the popular algorithms on Programming Job interviews. The interviewer often asks candidates to implement binary search algorithms by hand in their favorite programming languages like Java, C++, Python. or JavaScript.

How to declare and Initialize two dimensional Array in Java with Example

An array of more than one dimension is known as a multi-dimensional array. Two of the most common examples of multi-dimensional arrays are two and three-dimensional arrays, known as 2D and 3D arrays, anything above is rare. I have never seen 4-dimensional arrays, even 3D arrays are not that common. Now the question comes when to use a multi-dimensional array? Any real-life example? Well, 2D arrays are very common on platform games like Super Mario Bros to represent screen or terrain; 2D arrays can also be used to represent structures like a spreadsheet, or to draw board games like Chess, which requires 8x8 board, Checkers and  Tic-Tac-Toe, which requires 3 rows and 3 columns.

Top 5 Free Data Science and Data Analysis Courses for Beginners in 2021 - Best of Lot

Hello folks, Data Science and Data Analysis are two of the most in-demand skills in the current technology world and all kinds of companies need them to improve their sales, profit, and overall business process. If you want to learn Data Science and Data Analysis and looking for some free online training courses to start your career then you have come to the right place. Earlier, I have shared the best Data Science courses and In this article, I am going to share free Data Science courses from Udemy and Coursera for both beginners and experienced programmers. You can join these courses to learn Data Science from scratch. They are also good to fill gaps in your knowledge if you already doing Data Analysis, and the big point, they are completely FREE.

How to Convert or Print Array as String in Java with Example

Array and String are very closely related, not just because String is a character array in most of the programming language but also with popularity - they are two of the most important data structure for programmers. Many times we need to convert an array to String or create an array from String, but unfortunately, there is no direct way of doing this in Java. Though you can convert an array to String by simply calling their toString() method, you will not get any meaningful value.  If you convert an Integer array to String, you will get something like I@4fee225 due to the default implementation of the toString() method from the java.lang.Object class. Here, I show the type of the array and content after @ is hash code value in hexadecimal.

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 compare two Arrays in Java to check if they are equal - [String & Integer Array Example]

Hello guys, one of the common Programming, the day-to-date task is to compare two arrays in Java and see if they are equal to each other or not. Of course, you can't compare a String array to an int array, which means two arrays are said to be equal if they are of the same type, has the same length, contains the same elements, and in the same order. Now, you can write your own method for checking array equality or take advantage of Java's rich Collection API. Similar to what you have seen while printing array values in Java, java.util.Arrays class provides convenient methods for comparing array values.

Top 5 Next.js and React.js Framework Courses to learn in 2021 - Best of Lot

Hello guys, if you follow web development news then you may know about Next.js, a popular React framework that helps in server-side rendering. The Next.js is touted as the next big thing in the web development world and 2021 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.

How to find an element in Array? Linear Search Algorithm in Java [Example tutorial]

In the last article about searching and sorting, you have learned the binary search algorithm and today I'll teach you another fundamental searching algorithm called Linear search. Linear search is nothing but iterating over the array and comparing each element with the target element to see if they are equal since we search the array sequential from start to end, this is also known as sequential search or linear search. It is very slow as compared to binary search because you have to compare each element with every other element and definitely not suitable for a large array. It's practically useful only in case of the small array up to 10 to 15 numbers. In the worst case, you need to check all elements to confirm if the target element exists in an array or not.

Top 5 courses to learn Laravel PHP Framework in 2020 - Best of Lot

Many believe that PHP has lost its prominence since the emergence of Node.js. But still, It remains one of the most popular languages in the server-side development community. There is still a huge demand for PHP developers, especially for those who are familiar with some kind of PHP frameworks. Some of the popular PHP frameworks are Codeigniter, CakePHP, Yii, and Laravel. Out of all these, Laravel is the most popular.

3 Ways to convert java.util.Date to java.time.LocalDate in Java 8 - Example, Tutorial

One of the great features of Java 8 is the new Date and Time API which is intended to fix existing issues related to mutability and thread-safety with existing java.util.Date class. But given java.util.Date is used very heavily across all the Java application, you will often end up with a situation where you need to convert java.uti.Date to java.time.LocalDate while working in Java 8. Unfortunately there is no toLocalDate() method in the java.util.Date class. Though, you can easily convert Date to LocalDate if you are familiar with how new and old API classes map to each other.

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. 

10 Examples to DateTimeFormatter in Java 8 to Parse and Format Date & Time

Parsing and formatting dates are other essential topics while working with date and time in Java. Even though old Date API had SimpleDateFormat and DateFormate class to support formatting of date and parsing texts, they were not simple, or should I say there were just simple in writing wrong code. You might know that SimpleDateFormat was not thread-safe and quite heavy to be used as a local variable. Thankfully, this has been sorted now with a new LocalDateTime class and DateTimeFormatter class, which has several inbuilt formats.

Top 5 Course to learn Design Patterns in JavaScript - Best of Lot

Hello guys, if you are a JavaScript developer and want to learn design patterns to further improve your coding and development skills and looking for the best design pattern courses in JavaScript then you have come to the right place. Earlier, I have shared the best JavaScript courses for beginners, and today, I am going to share the best courses to learn Design Pattern in JavaScript from Udemy, Pluralsight, Udacity, and LinkedIn Learning. These are truly great online courses which you can join to learn this useful skill and become a better JavaScript developer. 

Top 5 Free Google Cloud Platform Courses for Beginners in 2021 - Best of Lot

Hello guys,  If you also want to learn Google Cloud Platform and looking for some free online Google Cloud training courses and materials to start your GCP journey then you have come to the right place. Earlier, I have shared the free Google Cloud Developer certification courses, and today, I will share free courses you can join to learn Google Cloud platform. If you don't know, Google Cloud Platform is the massive Cloud platform for Google which is one of the three biggest public cloud platforms along with AWS and Microsoft Azure. There is a huge demand for Google Cloud Professionals but there are not many in the market, hence more and more people are learning about Google Cloud and getting certified.

How to Convert String to LocalDateTime in Java 8 - Example Tutorial

Hello guys, today, I will talk about a common problem while working in a Java application, yes you guessed it right, I am talking about String to Date conversion in Java. I had discussed this before (see the Date to String) when Java 8 was not out, but with Java 8, I don't see any reason to use old date and time API, and hence I am writing this post to teach you how to convert String to Date in Java 8 or beyond. Suppose you have a date-time String "2016-03-04: 11:01:20" and you want to convert this into a LocalDateTime object of Java 8 new date and time API, how do you do that? Well, if you have worked previously with String and Date then you know that you can parse String to Date in Java.

Top 5 Python Courses for Web Developers in 2021 - Best of Lot

Hello guys, if you want to become a Python web developer and looking for the best online training courses to start with then you have come to the right place. In the past, I have shared the best online courses to learn Python, and the best Django courses, and today, I will share the best online courses to become a Python web developer. Web development is one of the most important skills for software engineers in today's highly connected digital world. If you look around most of the billion-dollar businesses like Google, Amazon, Facebook are all web applications and they are the most successful companies around.

10 Examples of Collectors + Stream in Java 8 - Grouping By, Partition By, Joining, and Counting

As the name suggests, the Collectors class is used to collect elements of a Stream into Collection. It acts as a bridge between Stream and Collection, and you can use it to convert a Stream into different types of collections like List, Set, Map. Btw, it not just limited to that, it even provides functionalities to join String, group by, partition by, and several other reduction operators to return a meaningful result. It's often used along with the collect() method of Stream class which accepts a Collectors. In this article, you will learn how to effectively use java.util.stream.Collectors in Java by following some hands-on examples.

5 Free React Native Courses and Tutorials 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 best React Native courses and React.js 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 course 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.

How to Format Date to String in Java 8 [Example Tutorial]

One of the common programming tasks in Java is to change the date format of a given Date or String. For example, you have something like "2017-01-18 20:10:00" and you want to convert it that date into "2017-01-18", or you want to convert from dd-MM-YY to MM-dd-YY or to any other format of your choice and need, but a valid date format as per Java specification. How will you do that? Well, it's not that difficult. It's just a two-step process. In the first step, you need to parse String to create an equivalent date using the current format, and then once you got the date, you need to again convert it back to String using the new format. The same process is repeated in both Java 8 and before, only corresponding API and class changes.

5 Best Git Online Courses for Beginners and Experienced Developers

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.  When it comes to using a source control tool like SVN or CVS, most of the programmers use them using IDE, like from IntelliJIDEA or Eclipse, and they are hardly familiar with the command line. This is particularly true for old source control software like SVN and CVS, but Git & Github has changed that culture a bit.

Randam vs ThreadLocalRandom vs SecureRandom Example in Java

Hello guys, one of the common tasks for Java developers is to generate an array of random numbers, particularly in game development. For example, if you are coding for dice-based games like Ludo or Snake and Lader then you need to generate a random number from 1 to 6 to simulate dice behavior. The same goes for other dice-based games. There are many cases where you need to generate random numbers and an array of random numbers. In some cases, duplicates may be allowed while other duplicates are not permitted.  

6 Advanced Comparator and Comparable Examples in Java 8 for Sorting Objects

The JDK 8 release has completely changed the way you compare objects and sort them in Java. The new features of Java 8 language e.g. lambda expression and method reference has made it easier to implement both Comparator and Comparable interface, as you don't need Anonymous class for inline implementation. Now, you can create Comparators in just one line by using lambdas and method reference as we'll see in this article. Other features like providing default and static methods on interfaces have also made a huge difference when it comes to Comparator. They helped Java API designer to redesign and evolve existing interfaces, which wasn't possible earlier without breaking existing clients of those interfaces.

5 Free Kotlin Courses for Beginners to Learn in 2021 - Best of Lot

Hello guys, If you are in Android application development or server-side Java development then you might have heard about Kotlin programming language, created by JetBrains, the company behind popular IDEs like IntelliJIDEA, PyCharm, and WebStorm. Kotlin is also Google's official language for developing Android apps. If you don't know what is Kotlin and why you should learn Kotlin then let me tell you that Kotlin is a matured programming language which offers a lot of benefit over traditional programming language like Java which is time tested in last 25 years. Kotlin is designed to solve pain points of Java programming language like verbose nature and boilerplate.

Java 8 compute() and computeIfPresent() Example - ConcurrentHashMap

The JDK 8 has added several useful methods in existing interfaces e.g. java.util.Map, java.util.Collection, and java.util.concurrent.ConcurrentMap. Thanks to default methods, the much-needed evolution of existing interfaces becomes possible. Out of many useful methods, one method which stands out to me is the compute() method, which allows you to update a value in ConcurrentHashMap atomically. As per Java documentation, The compute() function tries to compute a mapping for the specified key and its current mapped value (or null if there is no current mapping). The entire function is performed atomically.

Top 5 Courses to become DevOps Engineer in 2020 - Best of Lot

Hello guys, you may know that DevOps is one of the most in-demand skills for both big and small organizations. Consequently, DevOps Engineer is also one of the highest-paid technical jobs for people who don't want to go on general jobs like people management or project management. If you are a senior developer, tech lead, or a scrum master and looking for a raise or want to take your career to the next level, learning DevOps and tools like Docker, Kubernetes, Jeninks, and Maven can be a good option. These tools not only improve the software development and deployment process in your team but also boost your profile and career.

How to Convert a List into Map in Java 8 - Example Tutorial

One of the common tasks in Java programming is to convert a list to a map and I have written about this in the past and today we'll see how Java 8 makes this task easier. Btw, be it Java 7 or Java 8, you need to keep something in mind while converting a list to a map because they are two different data structures and have completely different properties. For example, the List interface in Java allows duplicate elements but keys in a Map must be unique, the value can be duplicated but a duplicate key may cause a problem in Java 8. This means a List with duplicate cannot be directly converted into Map without handling the duplicate values properly. 

Top 5 Courses for Scrum Master Certification (PSM) (with Practice Tests) - Best of Lot

Hello guys, if you are preparing for Scrum Master Certification (PSM) and looking for the best Scrum courses, classes, books, and tutorials then you have come to the right site. Earlier, I have shared the best Agile Scrum courses and books, today, I am going to share the best online courses you can join for Scrum Master Certification. These courses have been chosen from popular learning websites like Udemy, Pluralsight, and Edureka and they are created by experts who have also gone through the same path and already certified Scrum Master. I have also include PSM practice tests which are very important to build the speed and accuracy required for a time-based exam. 

Top 10 Free Java Courses for Beginners and Experienced Programmers

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 in 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 with you guys.

Top 5 Design Patterns Books for Java Developers - Best of Lot

Design patterns are an essential topic for object-oriented programmers, like Java and C++ developers. It becomes even more important as your experience grows because everybody starts expecting a lot more from you in terms of writing quality code. I often receive emails from intermediate and senior Java developers about progressing to the next level, like how to become Tech Lead, Team Lead, or a software architect; knowledge of design patterns play an important role in taking more technical responsibility. While the GoF book is the bible for object-oriented design patterns, in my opinion, it is a bit too dry and academic.

How to sort HashMap by values in Java 8 [using Lambdas and Stream] - Example Tutorial

In the past, I have shown you how to sort a HashMap by values in Java, but that was using traditional techniques of the pre-Java 8 world. Now the time has changed and Java has evolved into a programming language that can also do functional programming. How can you, a Java Programmer take advantage of that fact to do your day to day task better like how do you sort a Map by values in Java using lambda expressions and Stream API. That's what you are going to learn in this article. It will serve two purposes, first, it will tell you a new way to sort a Map by values in Java, and, second and more important it will introduce you to essential Java 8 features like Lambda Expression and Streams, which every Java Programmer should learn.

Top 10 Courses to Learn Data Structure and Algorithms in Java [3 are FREE]

Hello guys, In the past, I have shared a lot of useful resources like books and tutorials to learn Data Structure and Algorithms for both beginners and experienced programmers. I have also shared a lot of Data Structure and Algorithmic interview questions like this and their solutions in Java. Still, I have got continuously queries about excellent online courses to learn Data Structure and Algorithms in Java. Even though the topics are completely independent with the programming language, Java developer definitely likes the online courses which teach Data Structure and Algorithms in Java, and that's why my recent post about best algorithms courses, which includes algorithms courses from JavaScript and Python didn't impress my readers.

10 Example of ps command in Linux

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 you 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.  

Top 5 Courses to learn Responsive Web Design in 2020 - Best of Lot

Hello folks, Responsive web design is one of the essential skills to become a front-end web developer, a web designer, and even a full stack developer. If you are interested in learning Responsive web design and looking for the best online training courses then you have come to the right place. In the last few articles, I have shared the best courses to learn UI/UX design, HTML 5, CSS 3, and Photoshop for FREE and in this article, I am going to share the best online courses to learn Responsive web design.  These courses have been created by experienced web designers and developers and thousands of programmers and developers have trusted this course to learn responsive web design you can also join them to learn this in-demand skill from your home.