HTML

Top 5 Free R Programming Courses for Data Scientists - 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 on 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.

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.

Top 5 Free Courses to Learn TypeScript in 2020 - 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 which augments JavaScript's programming syntax by adding some new features which help in object-oriented application development, particularly introduction of Types.

Top 25 Examples of ConcurrentHashMap in Java 8 - Tutorial

The java.util.ConcurrentHashMap is one of the most important classes of JDK. It was introduced in JDK 1.5 along with other concurrent collection classes like CopyOnWriteArrayList and BlockingQueue. Ever since then, it has been a workhorse in concurrent Java applications. It won't be an exaggeration If I say there is hardly any concurrent Java application which has not used ConcurrentHashMap yet. The class was another implementation of Java .util.Map and a popular hash table data structure with concurrency inbuilt. This means you can also pass a ConcurrentHashMap to a method that is expecting a java.util.Map object. It was made scalable by dividing the whole map into a different segment, known as concurrency level, and then allowing threads to modify segments concurrently.

Top 5 Free Courses to Learn Swift Programming in 2020 - 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 product, 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. It's only because Apple has kept education in mind while creating it. If you have an iPad, you might have also seen the Swift Playground app, which is also a great app to learn Swift and iOS.

Top 6 Data Structures Every Java Programmer Should Learn

Java API provides built-in support for common data structures, essential for writing programs like an array, linked list, map, set, stack, and queue. You don't need to implement these data structures by yourself, you can directly use it in your program, thanks to rich and efficient implementation provided by Java API. This is also one reason why Java is the best programming language. Since data structure is core to any program and choice of a particular data structure significantly affects both functionality and performance of Java applications, it's worth an effort to explore different data structures available in Java.

Top 5 Free Courses to learn Machine Learning and Deep Learning in 2020

Hello guys, Happy New year 2020 in advance. We are just a couple of weeks away to New Year, and I am sure you all have made your goals and maybe looking for the ways and resources to achieve them. If one of your goals is to learn Machine learning and Deep learning in 2020, then you have come to the right place. In this course, I am going to share some of the best free classes to learn Machine learning and Deep learning online. Btw, If you are thinking to learn Data Science, Machine learning, or Deep learning then you are not alone, more and more people are starting with these advanced skills around the world.

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. So, you need to clarify with the Interviewer, what is the meaning of removing an element from the array here. Does he want to return an array without that element or just set that index to a null or empty string?

Top 5 Courses to learn Go or Golang Programming language in 2020 - Best of Lot

Hello guys, today, I am going to share about one of the modern programming language called Go or Golang, which is created by none other than Google 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. Even if the name of Google wasn't enough, this programming language is created by Ken Thompson, who have invented time tested technologies like C programming language and UNIX operating system, along with a key contribution from two Google employees Robert Griesemer and Rob Pike.

How to append text to file in Java? Example Tutorial

Hello guys, In this article, I'll teach you how to append text to a file in Java. Earlier, I have taught you guys how to create a file and write text into it, but, append is totally different than creating a new file and writing data into it. In the case of append, the file already exists and you just add text at the end of the file. One popular example of appending text into a file is a log file that is constantly updated because your application continuously appends log details into it. While you don't need to create a logging framework here, just knowing how to append text into an existing file in Java is useful for Java programmers of all kinds of experience.

Top 8 Websites to Learn JavaScript Online - Best of Lot

Like, 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. You don't need to pay any fees, but you must have a good internet connection to take full advantage of these online resources. Out of so many websites which offer free tutorials, articles, blog post, videos, and podcasts, I have chosen these six websites to recommend to anybody who wants to learn JavaScript.

What is the cost of Oracle Java Certifications - OCAJP8, OCPJP8, OCEWCD, OCMJEA?

One of the frequently asked questions about Oracle Java certifications, formerly known as Sun Certified Java programmer like OCAJP, OCPJP, OCEWCD, OCMEJA, etc. is about the cost of certification. Many of my readers often ask what the cost of OCAJP  like OCAJP 8 or OCAJP 11 and  OCPJP like OCPJP 8 and OCPJP 11 is? Is there any discount available? What are the fees of Java 8 certifications? How much Java architect exam cost? Etc. I have answered many of them one to one via Facebook and Email in the past, but after so many such requests, I decided to write a blog post about it.

Top 5 Online Training Courses Learn Git and Github in 2020 - Best of Lot

There is no doubt that 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.

10 Essential JVM Options for a Java Production System

Hello guys, this is a brief guide of appropriate JVM options, which you will often see in production Java systems. As a Java developer, you should know what these JVM options mean, their importance, and how they affect your application. You will find that most of the JVM options are related to heap memory, garbage collection and to log some details, e.g., heap dump, necessary for troubleshooting heap related issues like a memory leak or excessive memory consumption. It's Ok if you don't know these Java virtual machine options yet, but you should be familiar with them, and that's the objective of this article. Btw, how do you find the JVM options your application is using? Well, you can see the startup scripts through which your application is started.

Top 5 Udemy & Coursera Courses to Learn AI or Artificial Intelligence with Python in 2020- Best of Lot

Hello guys, Artificial Intelligence is very exciting? Isn't it? I first come across AI when DeepMind beat Garry Kasparov, one of the finest players of Chess. It was way back in the 1990s, and AI has come a long way since then. Now, Google is using the same DeepMind to reduce electric bills of its Data Center by 40%, and Elon Musk is talking about Self driving cars. If you are a tech geek or a programmer, these are some of the fascinating examples of Artificial Intelligence, and every time I hear an AI story, I really get hooked up. While all these are good and interesting, as a programmer, I am also spending some time on how to code AI?

Top 10 Object Oriented Programming Concepts and Fundamentals

Object-oriented programming (OOP) is a programming style that is used to solve the problem by thinking in terms of real-world objects like Car, Bag, Animal, etc. It also helps you to organize code, which makes it easier to understand and solve complex programs. Objects hold information about state and behavior. States are the characteristics of the object, or the words you would use to describe it, and usually, take the form of is or has descriptors. A computer is either on or off, a chair has four legs, and you have a name. Behaviors are the things the object can do, or the actions the purpose can perform and are usually verbs that end in ing, like You are sitting, using a computer, and reading this article.

21 Websites to Learn Coding Online for FREE

Hello there, if you are someone who is learning programming and coding by yourself and looking for some awesome resources, then you have come to the right place. In this article, I am going to share 21 websites you can use to learn the code for free from the comfort of your office and home.

1. plurasight.com

One of the best websites to learn any technology or IT courses, e.g. programming language like Java, web development framework, e.g. Spring Framework, Hibernate, etc. It's also now acquired CodeSchool, which earlier allows you to learn web technologies by doing it. I use this website to learn a lot of cool stuff in no time.

Top 10 Data Structure and Algorithms Courses for Java Programmers - Best of Lot

Hello guys, In the past, I have shared a lot of useful resources like books and tutorials to learn Data Structure and Algorithms in Java. 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 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 Books Java Developers Should Read in 2020

Hello guys, If you are Java developer and wondering what to read in 2020, then you have come to the right place. In this article, I am going to share 10 books on Java, Spring, and related technology a Java developer can read. I have included books for both experienced Java developer who is more inclined to learn about architecture stuff,  developing for Cloud, MicroService, Java 9 to Java 13 features, and Spring 5 features and thinking of learning Kotlin to improve their productivity. Still, I have not forgotten to junior and less experienced Java developers or some who are thinking of starting their journey into Java world in 2020.

Top 5 Free Course to Learn Bash and Shell Scripting in Linux Online - Best of Lot

Hello guys, the importance of Linux is well known but what many programmers don't know about how to write shell scripts to make most of it.  Some of them even not familiar with various Linux shells like bash, csh, or ksh, which further limit their ability. If you don't know, bash is a UNIX shell and command language, which is also a default login shell for many Linux systems and Mac OS. It provides the ability to write scripts to do things programmatically.  Shell scripting is an important skill to become an efficient developer or programmer. It allows you to automate trivial tasks that otherwise take away your valuable time. It also allows you to do things quickly.

40+ Java IO and Files Interview Questions with Answers

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

Top 5 Free and Best Spring Core Professional Certification Courses, Practice Questions and Online Mock Exams

Many Java developers don't know that, similar to Oracle's Java certification, there is also a Spring certification program, which certifies yourself for your Spring framework skill. There are three Spring certifications currently available, Spring Professional certification exam, which certifies on your general knowledge about Spring framework, Spring Web Application Developer exam, which confirms you about your Spring MVC skill and Spring Enterprise Integration Specialist certification exam, which is for advanced Spring Integration skill. Earlier, SpringSource provides these certifications, but now they are provided by Pivotal, the company behind the Spring framework.

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 40 Binary Tree Coding Interview Questions for Programmers

A lot of programmers and my readers have been asking me to share some binary tree-based coding interview questions, just like I have done for the array, linked list, string, software design, patterns, hash table, and data structure in general. This task was actually pending for quite some time and it was stuck for me trying to find the solution for each and every question I could have collected. So, I decided to publish the list of binary tree interview questions now and possibly publish the solution as a separate article later. This is like creating an interface and providing implementation later so that you don't block other people who are dependent upon your interface (actually, this is one advantage of using the interface in Java or any other programming language).

Top 5 Free Docker Courses for Java and DevOps Engineers - Best of Lot

If you are an application developer working in Java or C# or any other language and want to become a DevOps engineer or someone who wants to learn Docker, then you have come to the right place. In this article, I am going to share some of the free Docker courses you can use to take online to learn Docker by yourself. These courses are great for both beginners and intermediate developers who have basic ideas about Docker. If you don't know what a Docker is and how it works, then let me give you a brief introduction. Before starting, just look at the Docker's logo, which is a whale carrying containers, does that strike something? Well, if you add this image with the name Docker, you might think about shipping companies, which move boxes from one part of the world to another.

Difference between @SpringBootApplication vs @EnableAutoConfiguration annotations in Spring Boot

Even though both @SpringBootApplication and @EnableAutoConfiguration can be used to enable the auto-configuration feature of Spring Boot, there is a subtle difference between them. The @SpringBootApplication does much more than what @EnableAutoConfiguration does. It's actually a combination of three annotations: @Configuration, which is used in Java-based configuration on Spring framework, @ComponentScan to enable component scanning of components you write like @Controller classes, and @EnableAutoConfgiuration itself, which is used to allow for auto-configuration in Spring Boot application. Spring Boot designers quickly realized that these three annotations are frequently used together, so they bundled them into @SpringBootApplicaiton. Now, instead of three annotations, you just need to specify one annotation on your Main class.

Top 5 Free JavaScript Online Training Courses for Web Developers - Best of Lot

Hello guys, If you want to learn JavaScript by yourself and looking for some free resources like books, sites, and tutorials, then you have come to the right place. 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 by 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 50 Garbage Collection and Java Performance Interview Questions and Answers

Hello Java Developers, If you have gone through any Java Developer interview, particularly for senior developer role than you know that a good knowledge of JVM internals and Garbage collection is important. Even though Java and JVM take care of memory management for you, bad code can still cause memory leak and performance issues. For example, if you are creating millions of objects in a loop or keeping an un-intended reference of dead objects then you are putting additional strain on the Garbage collector and creating memory leak in your application. You cannot blame Java and JVM for that and the only way to avoid such errors is knowing about how Garbage collection works.

Top 5 Free Servlet, JSP, and JDBC Courses for Java Web Developers - Best of Lot

If you are a Java developer working on a Java JEE projects like a Java Web application running on Tomcat or Glassfish, or you want to get into that by learning server-side technologies like Servlet, JSP, and JDBC, then you have come to the right place. In this article, I will share some free online courses to learn Servlet, JSP, and JDBC at your own pace. If you want to become a rockstar Java web developer, then you must have a good understanding of these essential web technologies before you learn frameworks like Spring and Hibernate. These frameworks work on top of these basic technologies, and if you don't know them, then you would often struggle to debug and troubleshoot problems in the real world.

Top 3 Free Struts Books for Java EE developers - Learn Online, PDF download

Jakarta Struts is one of the most popular MVC frameworks to create a Java web application. Struts 1.0 had ruled the world in the early 2000 era before Spring MVC took over. Still, there are lots of projects written in Struts that need active maintenance, and that's why Struts developers are still in demand. It has not become anything like COBOL, but the latest version of Struts 2.0 is a capable web MVC framework with dependency injection and has a sizable community behind it. It has close competition with Spring MVC, but given the demand for Struts developer, it's still a good technology to learn if you are looking for a job in Java web development position.

Top 5 Free Object-Oriented Programming Online Courses for Programmers - Best of Lot

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 to represent 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, e.g., 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.

Difference between CountDownLatch and CyclicBarrier in Java Concurrency

Difference between CountDownLatch and CyclicBarrier in Java
Both CyclicBarrier and CountDownLatch are used to implement a scenario where one Thread waits for one or more Thread to complete their job before starts processing but there is one difference between CountDownLatch and CyclicBarrierin Java which separates them apart and that is, you can not reuse same CountDownLatch instance once count reaches to zero and latch is open, on the other hand, CyclicBarrier can be reused by resetting Barrier, Once barrier is broken.

Top 5 Spring Framework Books for Java developers (Includes Spring Security and Spring Boot) - Best of lot

Spring framework is one of the most famous structures in the Java world, which used to develop Java application, both core Java and web application. It is also one of the most job oriented skills for Java developer; hence many beginners and intermediate Java programmers try to learn Spring framework on their own. Though there are some excellent Spring training courses available online, books are still the most popular and preferred way to learn Spring frameworks like Spring core, Spring Boot, Spring MVC, Spring Batch, or Spring Security.  I often receive queries for Spring book recommendations e.g., which Spring book is suitable for beginners, or which Spring book is good for intermediate and advanced developers, which book should I read to learn Spring boot, Spring Cloud, Spring Batch, or Spring security, etc.?