Friday, December 13, 2024

Polymorphism and Inheritance Example in Java

Hello guys, If you are new to Java or Object oriented programming and wondering what is Polymorphism and Inheritance and what are their use then you have come to the right place. Polymorphism and Inheritance are two fundamental concepts in object-oriented programming that allow for flexibility and reusability of code. In Java, these concepts are closely related and often go hand in hand. Java Programming provides a couple of way to implement Inheritance like extending a class or implementing an interface. Similarly they provide overloading and overriding for Polymorphism. In the past, I have shared 40 object oriented questions as well as 23 design patterns and In this article, we'll explore these concepts with a practical example.

How to fix java.lang.NoSuchMethodError: main Exception in thread "main" in Java? Example

How to solve java.lang.NoSuchMethodError: main Exception in thread "main"
java.lang.NoSucMethodError comes when Java code tries to call a method that does not exist on a class, this could be either static or non-static method. a most common manifestation of java.lang.NoSuchMethodError is running a class that doesn't have the main method in Java. In this article, we will see what is "java.lang.NoSuchMethodError: main Exception in thread "main"", Why does java.lang.NoSuchMethodError comes and how to solve java.lang.NoSuchMethodError in Java.

How to deal with NullPointerException in Java with Examples - java.lang.NullPointerException Guide

The java.lang.NullPointerException or NullPointerException in Java is probably the first error or exception you will face in Java. It is a true nightmare for beginners in Java but pretty easy to solve once you get familiar with Exception handling in Java. What makes NullPointerException a little bit tricky to solve is its name which has a pointer in itself and Java does not support pointers like C++ or C, just like you don't have multiple inheritances in Java. As a Java developer with 20 years of experience, I have solved countless amount of NullPointerException and now I have developed a coding and debugging sense through which I can spot what causing a particular NullPointerException and how to fix it. 

Difference between transient and volatile keyword in Java? example

Surprisingly "Difference between transient and volatile keyword in Java" has asked many times on various java interviews. volatile and transient are two completely different keywords from different areas of Java programming language. the transient keyword is used during serialization of Java object while volatile is related to the visibility of variables modified by multiple threads during concurrent programming. The only similarity between volatile and transient is that they are less used or uncommon keywords and not as popular as public, static, or final.

Why wait, notify, and notifyAll methods are called from synchronized block or method in Java?

Most of the Java developers know that wait(), notify(), and notifyAll() methods of object class must have to be called inside synchronized method or synchronized block in Java but how many times we thought why? Recently this question was asked to in Java interview to one of my friend, he pondered for a moment and replied that if we don't call wait() or notify() method from synchronized context we will receive IllegalMonitorStateException in Java. He was right in terms of the behavior of language but as per him, the interviewer was not completely satisfied with the answer and wanted to explain to him more about it.

Wednesday, December 11, 2024

The multi-part identifier XXX could not be bound in SQL SERVER [Solution]

Problem, I was doing join statement and getting this error Msg 4104, Level 16, State 1, Line 69

The multi-part identifier "a.X" could not be bound."


Cause:

I was mixing implicit joins with explicit joins. That is allowed, but you need to be aware of how to do that properly.

The thing is, explicit joins (the ones that are implemented using the JOIN keyword) take precedence over implicit ones (the 'comma' joins, where the join condition is specified in the WHERE clause).

Top 10 Websites and Online Platforms to Learn Git for FREE in 2025 - Best of Lot

Hello guys, like many programmers, I have also worked with a lot of source control systems like SVN, CVS, TFS, VSS, Mercury, and I had always wondered why so many source control systems? Why not just one. It's one of the necessary software tools for development, and everyone needs a version control and code repository, there should be a standard solution. It seems Git and Github have solved that problem now. Now, Git is everywhere from open source to closed source, from small startups to big Investment banks, but there were still legacy projects which were lying on SVN and CVS, but they are now also started moving towards it.

Top 7 Spring Microservices Courses with Spring Boot and Spring Cloud in 2025 - Best of Lot

Microservices is the new buzzword in software development word and everybody is talking about it, but it's been in practice for quite some time especially in the form of RESTful web services. The idea of Microservices is simple, breaking a big monolithic application that contains everything from UI to service layer to database into small chunks of applications that are loosely coupled and can work on their own. For example, in a company like Uber, you could have several applications providing different services e.g. discovering when a driver is online or a passenger is searching for a cab, finding a route, traffic, and handling payments. These small applications are known as Microservices.

Difference between Wait and Sleep, Yield in Java? Example

The difference between wait and sleep or the difference between sleep and yield in Java is one of the popular core Java interview questions and asked on multi-threading interviews. Out of three methods that can be used to pause a thread in Java, sleep() and yield() methods are defined in thread class while wait() is defined in the Object class, which is another interview question. The key difference between wait() and sleep() is that the former is used for inter-thread communication while later is used to introduced to pause the current thread for a short duration. 

Difference between Thread vs Runnable interface in Java

Thread vs Runnable in Java is always been a confusing decision not just for beginnerin Java but also for developers who have done a couple of projects in Java. Thread in Java seems easy in comparison to Runnable because you just deal with one class java.lang.Thread while in case of using Runnable to implement Thread you need to deal with both Thread and Runnable two classes. though the decision of using Runnable or Thread should be taken considering differences between Runnable and Thread and the pros and cons of both approaches.

Top 10 Coursera Courses to Learn Computer Science and Software Development in 2025 - Best of Lot

Hello folks, if you are looking for the best Coursera courses for Software Development and Computer Science, you have come to the right place. Earlier, I shared the best Data Science courses and the best Python Courses from Coursera. This article will share the best courses to learn Software Development, Programming, and Computer Science for Beginners and experienced alike. 
Software development and programming are estimated to grow about 13% by 2026, which means that there is no better time to enter this field and learn new skills in software development and programming, whether web development, mobile apps, or the internet of things, so you need to do the impossible to stay above your competitor.  

Top 8 TensorFlow Courses for Beginners and Experienced in 2025 - Best of Lot

If you are curious about Artificial intelligence, Data Science, and Machine learning, then I am sure you have heard about TensorFlow, Google's machine learning API, which they have used to develop the RankBrain algorithm for Google Search. TensorFlow is one of the most popular machine learning API, which allows you to automate several real-world tasks; for example, you can use it for image detection. In fact, a Japanese farmer turned programmer used it to detect the best quality Cucumber, which only his father and mother can do with his years of experience. That's the power of machine learning, which is now available to everyone because of TensorFlow.

Top 10 Free Courses to Learn Docker in 2025 - Best of Lot [UPDATED]

I have been answering a lot of questions about what programmers should learn in 2025, and Docker Container is one such skill. Docker and containers are a whole new way of developing and delivering applications and IT infrastructure. In this post, I'll talk about what Docker is and why a programmer should learn Docker. In today's world of massive scalability, where every single mobile app and web application needs to support billions of users (think of YouTube, WhatsApp, Uber), software application development and deployment have become increasingly complex. Gone are the days when the software is developed by a small team of onshore people.

Top 5 Java Design Pattern Courses for Experienced Java Developers in 2025 - Best of Lot

Hello guys, today, we'll talk about design patterns and some of the best online courses to learn design patterns in Java from scratch. If you are wondering what is a design pattern and why Java developers should learn them? then let me give you a brief overview. Design patterns are nothing but a tried and tested solutions of common programming problems, for example, the creational design patterns deal with the problems of object creation. They exist from a long time but made popular by famous Gang of four of Erich Gamma, John Vlissides, Ralph Johnson and Richard Helm in their classic 1994 book Design Patterns: Elements of Reusable Object-Oriented Software, also known as GOF design patterns. This book documented 24 design patterns which are reusable to solve common programming problems. 

Top 10 Free Courses for System Design Interviews in 2025 - Best of Lot

Hello guys, if you are preparing for System Design Interview or just want to improve your Software design skills and looking for best free resources like tutorials and free online courses then you have come to the right place. In the past, I have shared best System design coursesbookswebsites, and popular System design questions but a lot of you asked for free resources and that's why I am going to share best free System design courses I found online. These online System Design training courses are completely free and provides a diverse knowledge about different System design concepts and process. 

Top 6 Courses to learn Django Framework in 2025 - Best of Lot

Hello folks, If you are learning Python Programming language for Web Development, then you may have heard about the Django framework. Django is one of the popular web development frameworks to create modern web applications using the Python programming language. Django is also the most popular and most mature Python web development framework around. It makes it easier to build better Web apps more quickly and with less code. Building websites with Django is not just smart and efficient, but fun too! Learning Django can also boost your CV as it's a very in-demand skill.

[Udemy Course Review] - Is Java 17 Masterclass: Start Coding in 2025 by Tim Buchalka Worth it?

Hello guys, if you want to learn Java Programming from scratch and looking for the best Java course to join then you have come to the right place. Earlier, I have shared the best Java Programming courses, and today, I am going to review Java Programming Masterclass for Software Developers by Tim Buchalka, one of the highest-rated Java courses from Udemy. This course was also known as The Complete Java Masterclass before and now its known as Java 17 Masterclass: Start Coding in 2025. I have mentioned this course multiple times throughout different articles because it's currently the best course to learn Java. It's both comprehensive and up-to-date and most importantly it's very cost-effective. You can buy this 80-hour comprehensive course for just $10 which is just amazing. 

Top 10 Java Programming Courses for Beginners to Learn Online in 2025 - Best of Lot

If you are a computer science graduate or someone who wants to learn Java and looking for some awesome resources like books, tutorials, and online courses then you have come to the right place. In the past, I have shared some great books, websites, and tutorials to learn Java and in this article, I am going to share some of the best Java courses beginners can join to learn Java in 2025. One of the main problems with learning Java is keeping pace with the increasing number of releases. For example, Java 8 release completely changed how Java is written and after that, we have many Java releases in the form of Java 9Java 10, Java 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, and now Java 23. But the good thing is that the core of Java is still the same and all its releases are backward compatible.

Monday, December 9, 2024

What are AtomicInteger and AtomicLong in Java? How it works? compareAndSet() Example Tutorial

Concurrency is a fundamental aspect of modern software development, and Java provides a variety of tools and classes to help developers manage shared resources and coordinate the behavior of multiple threads. Among these tools one is atomic variables, which ensure that certain operations on shared data are performed atomically, I mean in one shot, without the need for explicit synchronization. In the past I talked about difference between atomic, synchronized, and volatile in Java and In this article, we'll explore atomic variables in Java, with a focus on AtomicInteger and AtomicLong, and explain how they work and how to use them effectively in Java. 

Is "Java Concurrency in Practice" still Valid in the Era of Java 23?

Hello guys, one of my reader Shobhit asked this question on my blog post about 12 must-reads advanced Java books for intermediate programmers - part 1. I really like the question and thought that many Java programmers might have the same doubt whenever someone recommends them to read Java Concurrency in Practice. When this book came first in 2006, Java world was still not sure of about new concurrency changes made in Java 1.5, I think the first big attempt to improve Java's built-in support for multi-threading and concurrency. 

Top 8 Courses to learn Reactive Spring Boot and WebFlux in 2025 - Best of Lot

Hello Java programmers, if you want to learn Reactive Programming with Spring Boot and WebFlux and are looking for some online courses to start with, you have come to the right place. Earlier, I have shared the best Spring Courses and best Spring Boot courses, and today, I will share the best online course to learn Reactive Programming with Spring Boot and Web Flux. In recent times, Reactive programming has become very popular. It is a programming paradigm that focuses on an asynchronous, event-driven, non-blocking approach for processing data which paves for writing a next-generation scalable web application in Java.  This means a thorough knowledge of reactive programming is a must for creating scalable web applications, and that's why Java developers need to learn reactive programming. 

Top 10 Coursera Courses and Certifications to Learn Web Development in 2025 - Best of Lot

Hello guys, If someone asked me 10 years ago about how to learn web development and get a job I would more likely say that you have to go to college and get your Bachelor’s degree and then try to get a job or internship. In short, it was only possible to become a web developer by spending years on education and thousands of dollars, now the internet has changed the game nowadays. These days many online platforms like CourseraUdemyPluralsight, CodeCademy, and Educative appeared to the world allowing people to take online training courses in almost any industry and web development is one of them. 

Top 8 Courses to learn Microsoft Azure Cloud in 2025 - Best of Lot

Hello guys, if you want to learn about the Microsoft Azure Cloud Platform, 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. Today, I will share the best online course to learn the Azure platform for Beginners. These are top-quality courses from expert trainers and instructors and are picked from Udemy, Coursera, and edX. You can use these courses to learn Microsoft Azure core services and prepare for different Microsoft Azure certifications like AZ-900, AZ-303, and AZ-20 Azure developer associate certification.

Top 7 Object Oriented Programming and Design Courses for Java Programmers in 2025 - Best of Lot

There is no doubt that Object-oriented programming is a pillar of software development and one of the reasons for the massive success of Java. Good knowledge of Object-oriented programming helps you to create better software. It also allows you to communicate your ideas better with your team members and fellow programmers. Despite being such an important technology, it's difficult to find programmers who understand OOP well. Many programmers just think that OOP is nothing more than Abstraction, Inheritance, Encapsulation, and Polymorphism, without genuinely understanding these concepts and mastering them.

Top 10 Online Courses to Learn Python 3 in 2025 - Best of Lot

If you are a Programmer or a Computer Science graduate and thinking of learning Python in 2025, then you have come to the right place. In this article, I am going to share some of the best online courses to learn Python 3 in 2025. Python is one of the most popular programming languages, and it's used in many domains, like Web development, Automation, Data Science, Machine learning, etc. In recent years, Python has also become a default language for Data Science and Machine learning Projects, and that's another reason why many experienced programmers are learning Python in 2025.

Sunday, December 8, 2024

Review - Is ByteByteGo System Design Interview Course by Alex Xu Really Worth it in 2025?

Hello guys, if you are preparing for System Design Interview in 2025 then you may have most likely come across names like ByteByteGo, Alex Xu or System Design Interview - An Insider Guide by Alex Xu, and if you are wondering what they are or you know about them but thinking whether ByteByteGo is worth it or not in 2025? then you have come to the right place. Yes, ByteByteGo is indeed worth considering for your System Design Interview preparation. because its created by Alex Xu, an expert with FAANG interview experience, the platform offers in-depth coverage of system design topics. The author's use of diagrams to explain concepts in detail enhances the learning experience and most importantly Alex Xu regularly and new content and update old ones, for example, he has recently added a section for coding interview patterns in ByteByteGo website.

Coursera's Google IT Support Professional Certificate Review - Is it worth it in 2025?

Hello there, if you are looking for a cost-effective and recognized IT training program to start your career in IT support then you have come to the right place. In this article, we'll review Google IT Support Professional Certificate from Coursera which can be used to launch your career in IT support in 2025. This is one of the most popular Coursera certification from Google and also one of the best structured and many beginners have joined this program, more than 1 million (precisely 1, 330, 000) which is a testament of the value this certification provides and with new AI related chapters and enhancement, this Google certification has become even more valuable to kick start your IT support career in 2025. 

Wednesday, December 4, 2024

6 ways to get the selected text from html drop down list in jQuery?

One of the common task in web development is retrieving the selected text from a drop down list, which is nothing but HTML select element. This allows users to choose one of the options presented, each text is enclosed in option tag. how can we retrieve the selected text using jQuery? Well, there are multiple ways but core is first find the select element than the selected option by using :selected pseudo class selector. 

Thursday, November 28, 2024

How to get the selected radio button on click using jQuery? Example

In last couple of articles, you have learned how to get all checked checkbox and how to find the unchecked checkbox using jQuery, let's see another similar example, this time with radio button. Suppose, in form you have two radio buttons to select the gender i.e. male and female. How do you find which radio button was selected when user clicked on them? well, we will use the jQuery selector to find that. In fact, its not much different than what you have used to find the checked checkbox i.e. $("input[type=radio]:checked") will give the selected radio button. In order to find the chosen radio button when user click, you need to bind a click handler. Let's see an example. 

Thursday, November 21, 2024

How to enable/disable form elements using jQuery? Examples

In last couple of tutorials you have learned how to get all selected checkbox and radio buttons, and in this tutorial, you will learn how to enable/disable form elements using jQuery. A form element e.g. a textfield, radio buttons and checkbox, all represented using input tag can be enabled or disabled by adding an attribute called "disabled". It's similar to "checked" attribute we have seen for checkbox and radio buttons. If this attribute is not present then element is enable, but if this attribute is present then you can use disabled=true to disable the form element and disabled=false to enable the form elements as shown in our example. 

Thursday, November 14, 2024

How to Compare Two Strings Without Case Sensitivity in Java? Example

How to Compare Two Strings Without Case Sensitivity in Java

Java provides several ways to compare strings without taking case sensitivity into account. In this article, we'll explore different methods to perform case-insensitive string comparisons in Java.

Method Use Case Efficiency
equalsIgnoreCase() Checking equality High
compareToIgnoreCase() Ordering comparison High
String.CASE_INSENSITIVE_ORDER Sorting collections High
equals() + toUpperCase() Not recommended Low

1. Using equalsIgnoreCase()

The equalsIgnoreCase() method

This method is ideal for checking if two strings are equal without considering their case. It returns true if both strings contain the same characters, regardless of their case.

String str1 = "Hello";
String str2 = "hello";
boolean isEqual = str1.equalsIgnoreCase(str2); // Returns true

2. Using compareToIgnoreCase()

The compareToIgnoreCase() method

Use this method when you want to check which string is greater or smaller, or to find out their relative ordering in lexicographical or alphabetical order, without considering case.

String str1 = "Apple";
String str2 = "banana";
int result = str1.compareToIgnoreCase(str2); // Returns a negative value

3. Using String.CASE_INSENSITIVE_ORDER

The String.CASE_INSENSITIVE_ORDER comparator

This comparator is useful for sorting a list of strings in case-insensitive order.

List<String> fruits = Arrays.asList("Apple", "banana", "Cherry");
Collections.sort(fruits, String.CASE_INSENSITIVE_ORDER);
// Result: [Apple, banana, Cherry]

4. Using equals() + toUpperCase()

Combining equals() and toUpperCase()

This is a tricky way to compare two strings in Java in a case-insensitive manner. First, convert both strings to uppercase, then compare them using equals().

String str1 = "Hello";
String str2 = "hello";
boolean isEqual = str1.toUpperCase().equals(str2.toUpperCase()); // Returns true

Note: This method is not recommended as it creates new String objects, which can be inefficient for large-scale comparisons.

Conclusion

When comparing strings without case sensitivity in Java, it's generally best to use the built-in methods like equalsIgnoreCase() for equality checks and compareToIgnoreCase() for ordering comparisons. 

These methods are optimized and provide clear, readable code. For sorting collections of strings, the String.CASE_INSENSITIVE_ORDER comparator is an excellent choice.

Remember, all these methods compare strings in lexicographical order. Choose the method that best fits your specific use case to ensure efficient and accurate string comparisons in your Java applications.

Thursday, November 7, 2024

How to convert XML to JSON in Java? Example

Since XML and JSON are two popular data interchange formats, you will often need to convert one into other. For example, many SOAP web services returns XML response and if you are using Java and wants to convert that XML response to JSON, then you can use JSON library from https://json.org. It provides a class called XML.java, which provides static methods to convert an XML text into a JSONObject. It also support JSON to XML conversion, which will learn in second part of the article. In order to use this class, you can dowload JAR files from Maven Central repository, or you can add required dependency in your pom.xml file. 

Thursday, October 31, 2024

How to convert JSON String to Java HashMap? Example

Suppose you have a JSON String, may be a web-service response and you want to create a Map out of it, where key should be the fields and value should be values of those fields e.g. if given JSON String is following :

{

"zip": "90210",

"city": "Beverly Hills"

"state": "CA"

"timeZone": "P"

}


then your HashMap should contain 4 mappings where keys are zip, city, state and timeZone, all of String type and corresponding values. 

Thursday, October 24, 2024

What is Timer and TimerTask in Java – Tutorial Example

Timer in Java is a utility class that is used to schedule tasks for both one time and repeated execution. Timer is similar to the alarm facility many people use in mobile phones. Just like you can have one time alarm or repeated alarm, You can use java.util.Timer to schedule a time task or repeated task. In fact, we can implement a Reminder utility using Timer in Java and that's what we are going to see in this example of Timer in Java. Two classes java.util.Timer and java.util.TimerTask is used to schedule jobs in Java and forms Timer API. 

4 Reasons and Benefits of Using Multithreading in Java? Why Threads?

In one word, we use Threads to make Java applications faster by doing multiple things at the same time. In technical terms, Thread helps you to achieve parallelism in Java programs. Since CPU is very fast and nowadays it even contains multiple cores, just one thread is not able to take advantage of all the cores, which means your costly hardware will remain idle for most of the time. By using multiple threads, you can take full advantage of multiple cores by serving more clients and serving them faster. Since, in today's fast-paced world, response time matters a lot and that's why you have multi-core CPUs, but if your application doesn't make full use of all resources then there is no point adding them, multi-threading is one way to exploiting huge computing power of CPU in Java application.

4 examples to convert Date to LocalDate in Java 8?

One of the challenge you will face while using new Java 8 Date and time API, JSR-310 in existing Java application is the conversion between java.util.Date and java.time.LocalDate and other classes. Even though library has everything you would expect, it doesn't have a direct conversion method between old Date and new LocalDate. There is a reason for it, eventhough java.util.Date says its a date its not, becuase its just a millisecond value since midnight at the start of 1970 GMT. It's equivalent to Instant class in new Java Date API and that's why you have a direct conversion method between Date and Instant in Java 8. Anyway, its not hard to convert a java.util.Date to java.time.LocalDate in Java 8, in fact there are multiple ways which we will explore in this tutorial. 

Wednesday, October 23, 2024

Difference between ExecutorService.submit() and Executor.execute() methods in Java?

What is the difference between Executor.submit() and Executor.execute() method in Java? This is one of the good multi-threading questions for experienced Java programmers, mostly asked in Investment Banks like Barclays, Deutsche Bank, or Citibank. A main difference between the submit() and execute() method is that ExecuterService.submit()can return the result of computation because it has a return type of Future, but the execute() method cannot return anything because return type is void. The core interface in Java 1.5's Executor framework is the Executor interface which defines the execute(Runnable task) method, whose primary purpose is to separate the task from its execution.

Difference between Process and Thread in Java - Example

One of the common questions from programming interviews is, what is the difference between a Thread and a Process? Well, the main difference between them is that a Process is a program that is executing some code and a thread is an independent path of execution in the process. A process can have more than one thread for doing independent tasks e.g. a thread for reading data from disk, a thread for processing that data, and another thread for sending that data over the network. This technique to improve throughput and better utilize CPU power is also known as multi-threading.

How to use Exchanger for Inter thread communication in Java? Example Tutorial

Hello guys, if you are working in a concurrent Java application then you might have heard about the Exchanger class of java.util.concurrent package. The Exchanger in Java is another concurrency or synchronization utility introduced in Java 1.5 along with CountDownLatch, CyclicBarrier, and Semaphores. As the name suggests, the Exchanger allows two Threads to meet and exchange data at the rendezvous or meeting point. This means you can use Exchanger to share objects between threads and for inter-thread communication. The java.util.Exchanger is a parametric class, which defines and holds the type of object to be exchanged. It has an overloaded method called the exchange(), which is used to exchange objects between threads.

What happens when you call Thread.run() instead of Thread.start() in Java? Trick Interview Question

Hello guys, writing multi-threaded and concurrent programs is not easy, not even in Java.  Even senior developers, including myself, make mistakes while writing concurrent Java applications. This is also one of the trickiest areas of Java programming language, where misconceptions outnumber concepts. Considering the amount of misconception an average Java programmer has about multi-threading and concurrency, I thought to start a new series about common multi-threading mistakes done by Java programmers; what is a better way to learn from common real word mistakes.

How to Implement Thread in Java with Example

How to implement Thread in Java
In my opinion, Thread is one of the most important features of the Java programming language which helped it to become the most popular programming language. I remember, when I first started learning Java in one of the programming classes in India how important Thread was a portrait and how much emphasis is given on a clear understanding of multi-threading. It’s still popular and one of most sought after skills in Java programmer because writing concurrent and multi-threaded applications in Java is challenging, despite Java providing excellent support at language level using synchronized and volatile keyword.

Educative Review - Is Grokking Modern System Design for Software Engineers and Managers worth it?

Hello guys, System Design Interview is one of the hardest part of any coding or programming job interview and it requires a lot of preparation and knowledge to crack system design interview. You need to know a lot of System design concepts like API Gateway, Load Balancer, Microservices vs Monolithic architecture, SQL vs NoSQL, Horizontal vs Vertical scalability and much. If you are preparing for System design interview then you may have come across that Educative.io has one of best System design courses like this one and Grokking the System Design Interview.  Before I give you my verdict on whether you need to choose Educative's Grokking Modern System Design For Software Engineers And Managers course, let me tell you a little bit about what system design really is.

Udemy vs Educative Review? Which is better Website for Beginners?

Hello guys, if you are wondering the difference between Udemy and Educative and whether you should take Udemy courses or join the Educative platform to learn new tech skills, you have come to the right place. Earlier, I have shared a comparison between Pluralsight and Udemy as well as CodeCademy vs Pluralsight in this article, I will compare Udemy with Educative, a new text-based, interactive learning platform. While I have often said that Udemy is my favorite platform because you can get high-quality and comprehensive courses from top instructors for just $9.9, which is phenomenal. 

Can You Learn Coding and Web Development in your 40s and 50s?

Yesterday, I was speaking to one of my friends who were not from a programming background but working as a teacher in a college of Engineering and Technology in the countryside of India. He just turned 40, and he is also the father of two wonderful kids. He has been teaching Maths to B.Tech students in a private engineer college for the last 15 years. He is earning Ok, but he always wanted to explore the world, and he now realizes that a Programming job can provide him that opportunity, so he contacted me to find out whether it's too late for a Programming career.

Monday, October 21, 2024

Review - Is Grokking the Machine Learning Interview on Educative Worth it in 2025?

Hello friends, we are here again today for another exciting topic to discuss. But, today we are not gonna discuss something which is related to Java or any other language or spring boot. Today we are gonna discuss something which is immensely practical and has the potential to land you very high-paying data science jobs.  Today we are gonna review a course that focuses on Machine Learning! Machine Learning is very important when we are considering data science interviews! So what's the wait? Let's start! On Educative.io, there is a great course called Grokking the Machine Learning Interview. It couldn't have come at a better moment, with machine learning expected to be a $3.6 billion business by 2025.

Is Coursera and IBM's Full Stack Software Developer Professional Certificate worth it in 2025? Review

Hello guys, if you are looking for the best full-stack Software developer course or certification on Coursera or you want to join IBM's Full Stack Software Developer Professional Certificate program but are not sure whether it's right for you then you have come to the right place. In this article, we will review IBM Full Stack Software Developer certification on 3 important points, instructor reputation, Coursera structure, content quality, and people's review. This will help you to decide whether this course is right for you or not. 

Review - Is Java Programming & Software Engineering Fundamentals Certification on Coursera worth it?

Hello guys, if you want to learn Java and look for the best Java courses online, you have come to the right place.  Earlier, I have shared the best Java Programming courses, and today, I am going to review Java Programming and Software Engineer Fundamentals course from Coursera. This is one of the top Java courses from Coursera, and more than 180K students have already joined this course. This course is offered by Duke University, and it also offers a certification after completing all modules of the course and doing the project on the final module. While the social proof is enough to join this course, we'll review this course on different parameters like Instructor quality, course structure, content, etc., to help you make an informed decision.

Top 10 Eclipse Plugins for Java and Spring Boot Developers

There is no doubt that Eclipse is one of the most popular IDEs for Java development, and what makes Eclipse great is nothing but Plugins. There are hundreds of Eclipse plugins for different kinds of tasks and integration with other essential tools like there are plugins to download code from Github, SVN, CVS, etc. There are planning to use Maven or Gradle from Eclipse. There are specific plugins for Java development, Python Development, creating Spring-based Java applications and for creating Android apps from Eclipse itself. I have seen productivity improvement by just installing the right kind of plugins. 

Top 10 Java 11 Certification Mock Tests and Practice Tests [4 Free OCPJP 11 Sample Questions]

The latest Java certification is now out, the Java 11 Certification. Ever since Java 9 and Java10 were out, programmers were speculating that what will happen to Java certification now? Will, there is, be a new Java 9 certification or Java 10 certification? Will there be a new Java certification every 6 months, following the Java SE release cycle? Well, Thankfully, nothing of that sort happened; a new Java certification every six months would have been a crazy idea, not just for students and programmers but also to all the parties involved, including Oracle itself.  Now the big question is what has been changed in Java 11 certification, and should you go for OCAJP 8 or OCAJP 11 certification?

Sunday, October 20, 2024

Top 5 Websites to Learn SQL Online for FREE - Best of Lot

SQL is one of the most important skills for any programmer be it a Java, C++, Python, JavaScript, or Ruby developer. Almost 95% of the Java applications use a relational database in their back-end and almost all web applications use the database. In recent years, one of the most common ways to learn any programming skill is online, at your comfort of the office or home and SQL is no different. Learning SQL online has another advantage of a quick head start because you don't need to install a database and create tables to write some SELECT queries. 

Grokking The Java Interview - My First Book After 10 Years as Java Blogger

Hello guys, I am very excited to announce the release of my first book after 10 years of writing Java articles and Java interview questions While I have been blogging for the last 10 years, I have never really sold anything, didn’t have any book, course, or any digital product. Finally, now I have my first book and it's going to help Java developer cracking interview — Grokking the Java interview. This was my long desire to have my content in a structured and organized way to provide more value and this book does that. It provides a structured way to prepare for Java interviews and learn essential core Java concepts.

5 Projects You can do to learn iOS App Development in 2025

Hello guys, if you are learning iOS App development and looking for some project ideas to better learn the concepts and apply your existing knowledge then you have come to the right place. Earlier, I have shared the best iOS and Swift courses, and today, I am going to talk about 5 cool projects you can do to learn iOS app development and master several key concepts like UI, Core ML, Speech to ext, and other APIs. Since it's very common for people to get stuck while doing projects, I have also included guide courses, both free and paid which you can join to learn how to do these projects step by step. 

Coursera Review - Is the Meta Frontend and Backend Developer Certificates Worth It in 2025?

Hello guys, if you want to become a frontend or backend developer in 2025 and looking for a well structured, reputed, and completely online program then Meta's Frontend and Backend developer certificates on Coursera are great place to start with. The Certifications will come from Meta, parent company of Facebook (similar to how the Certificates come from Google in the Google Professional Certificates) and they are taught by expert Software engineers of Meta. This means you will not only learn the latest tech skills which are highly looked after by employers but also you will get a chance to learn from best people in the world. But, what separate this professional certificate on Coursera form others is the access to Meta Job board

Is Google Data Analytics Professional Certificate Worth it in 2025? Coursera Review

Hello guys, if you want to become a Data Analyst in 2025 and looking for best online courses, guides, and tutorials to learn Data Analysis then you have come to the right place. In the past, I have shared best Data Analysis courses, Books, and 2025 Data Analyst RoadMap, and in this article, I will share one of the most popular Coursera course to learn Data Analytic, Google Data Analytics Professional Certificate. With more than 950,000 enrollments on Coursera this is one of the most popular Data Analytics course on Coursera and why not? Its created from Google itself. It's also well structured, up-to-date and you will learn all essential Data Analytics skills from Google experts. 

Saturday, October 19, 2024

Review - Is 2025 Web Developer Bootcamp by Colt Steele on Udemy worth it?

Hello guys, if you want to learn Web Development and looking for a beginner friendly course or you have heard about Colt Steele's Web Development 2025 Bootcamp course on Udemy and wondering whether its worth to join this course in 2025 or not then you have come to the right place. In the past, I have shared best web development online courses and in this article, I will share my 2 cents on Colt Steel's popular Web Developer bootcamp course on Udemy. Learning web development nowadays is such a huge work to do because you are going to learn not only to design the front-end or the web interface but you are also going to learn the back-end as well as design and build the database system for that website or online service and that’s what’s known as Full-stack web developer

Udemy's The Complete 2025 Web Development Bootcamp by Angela Yu Course Review

Hello guys, if you are interested in web development and looking to join The Complete 2025 Web Development Bootcamp course by Angela Yu on Udemy but not sure whether this course is right for you then you have come to the right place. In this article, we will review this awesome web development course which can help you to make a decision on whether you should invest your time and money in this course or not. Web development nowadays is more important than what you actually think. and what’s more than that is web development is touching every aspect of the company's online business.

Udemy's The 2025 Complete Python Bootcamp From Zero to Hero in Python Review

With various programming languages nowadays, it becomes tough to choose what language you should learn if you are planning to have a software engineer career, but that actually depends on what you should be good at; being a front-end web developer, you must learn HTML and CSS. For android app development, you should learn Java or Kotlin.  Most of the language has a specific industry that you can use it in, but what if I told you that there is a language called Python that can work in many industries.

Review - Is Deep Learning Certification By Andrew Ng on Coursera worth it? (2025)

Hello guys, if you want to start your career in Deep Learning and AI and looking for the best Deep learning course online or thinking to join Deep Learning Specialization by Andrew Ng on Coursera but thinking about whether it's worth your time and money, you have come to the right place. Earlier, I have shared the best Coursera courses for Data Science,  Machine Learning, and Python Programming, and today, I will review one of the most popular Deep Learning specializations on Coursera, or should I say on the internet, The Deep Learning Specialization by Andrew Ng and his team, offered by deeplearning.ai. While there are many Deep learning courses available online, this is the most detailed and comprehensive yet engaging course on deep learning. 

Coursera's Google IT Automation with Python Certification Review - Is it worth it in 2025?

Hello guys, if you are joining Google IT Automation with Python Professional Certification on Coursera and want to find out whether it's worth your time and money or not then you have come to the right place. Earlier, I have shared the best Coursera Certifications and a review of other popular Google courses on IT support and in this article, we'll review Google's most popular Python certification course in Coursera. Google's IT automation with Python is a professional certificate and more than 575,000 people have already joined this course it's from Google which is a great sign but you will find out more about this course in this review. 

Udemy's The Data Science Course: Complete Data Science Bootcamp 2025 Review - Is it worth it?

Hello guys, if you want to learn Data Science and looking for the best courses or want to join The Data Science Course 2025: Complete Data Science Bootcamp course on Udemy but are not sure whether this course is right for you 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 review this popular Udemy course to learn Data Science in 2025. This is one of the most popular Udemy courses when it comes to learning Data Science and with more than 560K students it's right there with the Data Science A-Z course by Kirill Eremenko, my favorite Udemy instructor for Data Science and Machine Learning. 

Friday, October 18, 2024

Top 25 Skills Java Developers Should Learn in 2025 [UPDATED]

Hello guys, recently I was doing some research on what skills Java developers should learn in 2025 to become a better developer and give their career a boost and I found some interesting skills like Kafka and  Elastic Search, apart from obvious ones like Spring Boot and Microservices. One of my favorite places for doing such research is examining Job listings on LinkedIn from different companies like Investment banks, Service-based companies, startups, and mid-tier companies where Java is used extensively. When I saw those skills, I can immediately tell that those are really useful and worth sharing with you guys, as I have often seen those skills playing important roles while hiring Java developers.

6 Tips to write Production Quality Code

We often hear the term "production quality code", some times in an interview where the interviewee asked to write production-quality code for a particular function, sometimes discussion between developers and programmers and sometimes during code review. I know most of you familiar with the term but for those who wonder what is production quality code in simple terms its code which can bear the test of time in a production environment. We all develop code in development, then test in QA and finally, it gets released in production.

Top 10 Multithreading and Concurrency Best Practices for Experienced Java Developers

Writing concurrent code is hard and testing correctness with concurrency is even harder. Though Java programming language provides lots of synchronization and concurrency support from language to API level, it eventually comes to an individual's diligence and expertise to write bug-free Java concurrency code. These Java concurrency and multi-threading best practices are a collection of some well-known tips, which help you to write better concurrency code in Java. Some of you may be familiar with these tips but it's often worth revising them time and time again. 

Review - Is Coursera's Python for Everybody Specialization worth it in 2025? [Best Python Certification]

Hello guys, if you want to learn Python and looking for the best Python course on Coursera, or you are just wondering if the Python for Everybody course from the University of Michigan on Coursera is worth your time and money then you have come to the right place. There is no doubt that Python for Everybody is the best Python certification and course on Coursera and the trust of more than 1 million students are enough to prove this point, but we will deep dive into this article and find more. Earlier, I have shared the best Coursera certifications for Python.

Top 10 Coursera Courses to Learn AWS, Google Cloud, Azure, and Cloud Computing in 2025 - Best of Lot

Hello guys, Cloud Computing is an in-demand skill for programmers, Software Developers, and any IT professionals, including support engineers, sysadmins, and even QA and business analysts. More and more companies have moved to the cloud in the last few years, and most technical development is happening there. Hence Cloud computing has become an essential skill to service the tech world. If you want to become a Cloud developer or administrator or just want to know about Cloud computing, you have come to the right place.

Top 10 Coursera Certifications for Data Science, Data Analysis, and Data Visualization in 2025 - Best of Lot

Hello guys, If you are keen to start your career in Data Science, Data Analysis, and Data Visualization field and looking for the best Coursera certifications, courses, specializations, and projects, then you have come to the right place. In the past, I have shared the best Coursera courses and certifications to learn Artificial IntelligencePythonSoftware Development, Cloud Computing, and Web Development, and, in this article, I am going to share the best Coursera courses, projects, certifications, and specializations for Data Science, Data Visualization and Data Analysis from reputed universities like Johns Hopkins and industry leaders and tech companies like IBM and Google

Thursday, October 17, 2024

Top 7 Free Git Courses for Programmers to Learn Online in 2025 - Best of Lot

One of my goals is to learn and master Git and GitHub this year and I have been searching for some good tutorials and courses to start with. The Internet is full of git tutorials and a simple Google search will leave you thousands of tutorials but the big question mark is where do you start? It's easy to pick a tutorial or a blog post if you have some background about what is Git, what it does? and how to use it but if you don't have much background then you need a course that can tell you all the information from the ground up. I personally like learning from a book or an online course before moving to blog posts as they were often well structured.

Top 10 DevOps Courses for Experienced Programmers to Learn Online in 2025 - Best of Lot

DevOps is really hot at this moment, and many job opportunities are lying for distinguished engineers and DevOps professionals. If you are an experienced Java programmer and want to become a DevOps engineer, then you have come to the right place. In this article, I am going to share some of the best online training courses you can take to become a DevOps professional. The most crucial advantage of DevOps is that it helps you to deliver better software and provide more control over your environment and software development process with the help of modern tools and automation. That's the reason the demand for DevOps professionals is growing exponentially. It's also one of the high-paying jobs along with Data Science and Machine learning specialists.

Top 8 Courses to Crack AZ-900: Microsoft Azure Fundamentals Cloud Certification in 2025 - Best of Lot

Hello Guys, you may know that Cloud computing is becoming more and more critical, and it's almost mandatory for both technical and non-tech IT people to know about Cloud computing and different Cloud platforms like AWS, Azure, and GCP. You just can't hide with Cloud anymore, you need to learn it to understand and master it to stay relevant in technology jobs. Thankfully there is a lot of learning material available to learn about the benefits of Cloud and why companies should move to Cloud. Still, certifications are probably the best way to develop knowledge, skill, and get the recognition required by many Cloud jobs. If you are just getting started with Cloud Computing and Cloud platforms like Microsoft Azure, then Microsoft Azure Fundamentals (AZ-900) is probably the best certification to build foundational Cloud skills and also get recognition.

Top 6 Course to Crack Azure Administrator Associate Certification Exam AZ-104 in 2025 - Best of Lot

Acquiring skills in Cloud computing is fast becoming an opportunity and asset since most companies are applying cloud technologies in all their operations or looking for ways to learn how to do that. This is why becoming certified as a Microsoft Azure Administrator is now a big step towards advancing one's carrier. With the current industry trend, it is safe to say learning how to create applications that have some if not all of their components hosted in the cloud has become a skill that is very high in demand. If you are preparing for Azure Administrator certification you need to pass AZ-104 exam by Microsoft. This is a completely online exam which you can give on any Microsoft exam center. 

Top 7 AWS Solution Architect Associate Certification Practice Test and SAA-C03 Exam Dumps in 2025

Hello guys, if you are preparing for the AWS Certified Solutions Architect Associate (SAA-C03 and SAA-C03) certification exam and looking for challenging practice tests to assess your preparation then you have come to the right place. In this article, I am going to share the best Practice test and questions to prepare for the AWS Solution Architect Associate  (SAA-C03) exam from Udemy, Whizlabs, and other portals, totaling more than 2000+ practice questions. These practice tests are created by AWS experts and certified developers and Solution architects like Stephane Maarek and Cloud guru Ryan Kroonenberg. Mock simulators play an important role in any certification and the AWS Solution Architect Associate-level exam is no different.

Wednesday, October 16, 2024

How to find Square root of integer in Java without using any Library? Interview Question

Problem : Given an integer i, find square root of it, without using Math.sqrt() method. Your method should return square root if given number is perfect square otherwise return floor(sqrt(x));

For example, 


Input i = 16

Output : 4


Input i = 17

Output : 4


This is very interesting problem and asked both freshers and experienced programmers. I have seen this question on many companies including ANZ, Barclays, and Citibank.

How to print Floyd's Triangle in Java? Example Tutorial

There are lots of programming exercises in Java, which involve printing a particular pattern in the console, one of them is printing the Floyd triangle in the console. In the Floyd triangle, there are n integers in the nth row and a total of (n(n+1))/2 integers in n rows. This is one of the most simple patterns to print but helpful in learning how to create other more complex patterns. The key to develop patterns is using nested loops and methods like System.out.print() and println() appropriately. Actually, pattern-based programming tasks are originally designed to master loops in programming.

How to Check if two Rectangles Overlap in Java? Collision Detection Solution and Example

Can you write a Java program to check if two rectangles are overlapping with each other or not? is one of the frequently asked coding questions on tech giants like Facebook, Amazon, Microsoft, and others. This is also a kind of problem where it's easy to find opposite or negative conditions like when rectangles are not overlapping and then inverting the result to prove that rectangles are colliding with each other. I first heard about this problem from one of my friends who were in the Android game development space. He was asked to write an algorithm to find if given rectangles are intersecting or not.

Top 5 AWS Certified Cloud Practitioner Exam (CLF-C02) Practice Questions & Dumps in 2025

As I have said before, Practice tests and exam dumps play an important role in not just passing the AWS Certified Cloud Practitioner certification (CLF-C02)  but also achieving a high score, which can truly set you apart from your competition. There are multiple benefits of going through practice tests and solving problems on an exam simulator before actual example. For example, it will help you find your strengths and weakness in advance so that you can understand your weaker areas better. They also help you to develop speed and accuracy, which is key to pass the time-bound exam like the AWS Certified Cloud Practitioner (CLF-C02) certification from Amazon.

Top 5 Course to Crack Microsoft Azure Developer Associate Certification Exam AZ-204 in 2025 - Best of Lot

Hello guys, Microsoft Azure a cloud-based service that serves as a framework for businesses to manage their services and applications, amongst other things that enable them to run a successful business. Microsoft Azure certifications are currently becoming some of the highest demanded certifications in the IT industry. Businesses that have a reason to influence cloud servers and have a high demand for various remote smart services from different locations are the ones using Microsoft Azure the most.

Top 5 Courses to Crack Azure Solutions Architect Expert Certification (AZ 305) Exam in 2025 [UPDATED]

The Azure cloud solutions from Microsoft are quickly becoming the go-to Cloud platform for many companies. While AWS leads the retail space, and Google Cloud Platform is still in the middle, Microsoft's Azure has emerged as a winner by attracting both big and small companies into its Cloud platform. This means the demand for people familiar with Azure architecture and Azure Cloud products and services is rising and providing some excellent career opportunities for Developers and DevOps who are interested in Cloud Computing. It's also very rewarding; the average salary for Azure Solution Architect in silicon valley is around 145,000 USD, which is highly competitive. It's one of the highest-paying technology jobs.  In short, Azure is currently presenting an excellent opportunity for senior developers.

Tuesday, October 15, 2024

Top 5 Courses to learn Quarkus and Micronaut for Java Programmers in 2025 - Best of Lot

Hello Java Programmers, Microservices is quickly becoming standard way to build and deploy Java application on Cloud and that's why its very important for Java programmers to learn about popular Microservice development frameworks in Java. If you want to create Microservices in Java and want to explore Microservices frameworks like DropWizard, MicroNaut, and Quarkus, you have come to the right place. In the past, I have shared the best Microsercies courses with Spring Boot and Spring Cloud, and today, I will share the best online lessons to learn Dropwizard and Micronauts. These are the best online courses and tutorials you can get to know this helpful technology. Unfortunately, not many online courses are available, but API docs and guides are also handy; along with these courses, you can read them.

Linux Command to Find how Long a process is Running in UNIX - Example

Hello guys, today, I am going to share one of the useful tips to find out how long a particular process is running in Linux. This is very useful while you are troubleshooting an issue and want to know whether your process or service is restarted fine on a daily or weekly basis. So you checked your process is running in Linux operating system and it's running fine, by using ps command. But now you want to know, from how long process is running, what is the start date of that process etc. Unfortunately, PS command in Linux or any UNIX based operating system doesn't provide that information.

Difference between FileInputStream and FileReader in Java | InputStream vs Reader Example

Before going to explain specific difference between FileInputStream and FileReader in Java, I would like to state fundamental difference between an InputStream and a Reader in Java, and when to use InputStream and when to go for Reader. Actually, Both InputStream and Reader are abstractions to read data from source, which can be either file or socket, but main difference between them is, InputStream is used to read binary data, while Reader is used to read text data, precisely Unicode characters.

Monday, October 14, 2024

4 Ways to Convert String to long in Java? Example Tutorial

How to convert a string to long in Java is one of those frequently asked questions by a beginner who has started learning Java programming language and is not aware of how to convert from one data type to another. Converting String to long is similar to converting String to Integer in Java, in-fact if you know how to convert String to Integer then you can convert String to Long by following the same procedure. Though you need to remember few things while dealing with long and String first of all long is the primitive type which is wrapped by the Long wrapper class and String is an Object in Java backed by character array.

How to Count Negative Numbers in a Sorted Matrix? [Solved] (Amazon Coding Question)

Hello guys, earlier I shared a list of Google Coding Interview questions, and today, I am going to share with you an interesting coding problem which was asked on Amazon, how to count total negative numbers in a given matrix where rows and columns are sorted in increasing order. Again, I found this coding problem while surfing on the internet, It wasn't actually asked to me or my reader, so I can't vouch that it's actually an Amazon Interview question. Though, I really expect it to be because it's an interesting problem and the optimal solution is not so easy but with the internet, you never know.

Top 7 Free Java Courses for Beginners to Learn Online in 2025 - Best of Lot

We all love free resources, don't we? If you want to learn Java online in 2025 and looking for the best free core Java online courses then you have come to the right place. Earlier, I have shared the best Java courses for beginners and in this article, I am going to share the best free courses to learn Java online. There was a time when I buy a lot of books when I was preparing for my engineering entrance exam but I only ended up buying books not reading them. After that, I changed my habit to first try to read a book on loan or try free resources and only buy when I really need them. When I started my programming journey, mostly I learn from free resources like free courses and books and there I developed the passion to collect free resources as well. 

Top 5 Practice Tests for AWS Certified Developer Associate DVA-C02 Certification in 2025 - Best of Lot

Hello guys, time and again I have said that practice questions and mock tests are an integral part of passing AWS certifications be it AWS solution architect or this AWS developer associate exam. They not only help you to prepare in an exam-like environment with time constraints but also reinforce and solidify whatever you have learned from online courses, books, tutorials, and white papers. It doesn't matter whether you have joined AWS developer courses like Neal Davis' AWS course on Udemy or Stephane Maarek's DVA-C02 course, unless and until you have practiced enough problems, you are not really ready for the exam.

Top 7 Data Science and Machine Learning Courses to Learn Online in 2025 - Best of Lot

Many programmers and Computer Science graduates are moving towards Data Science and Machine learning hoping for better pay and career opportunity and there is a reason for it. Data Scientist and Machine Learning Specialist have been ranked the number one job on Glassdoor for the last couple of years and the average salary of a data scientist is over $120,000 in the United States according to Indeed. Data Science is not only a rewarding career in terms of money but also provides the opportunity to solve some of the world's most interesting problems.  IMHO, that's the main motivation many good programmers are moving towards Data Science, Machine Learning, and Artificial Intelligence.