Best Java books for Beginner and Expert

One of the main problems with learning Java is to keep pace with the increasing number of releases. For example, Java 8 was released in 2014 which completely changed how Java is written and now within the last 6 month, we have two major Java releases in the form of Java 9 and Java 10, Java 11, 12, and 13. But the good thing is that the core of Java is still the same and all its releases are backward compatible. If you are learning Java first time, then it’s very important to choose the online course which is up-to-date, otherwise, you will be left behind in the job market and your day-to-day programming job with outdated skills.

Simple Translator in Python

Installation pip install translate code from translate import Translator translator= Translator(to_lang="Hindi") translation = translator.translate("Follow code_snail") print(translation) Between Any Two Languages from translate import Translator # Between Any Two Languages translator= Translator(from_lang="hindi",to_lang="english") translation = translator.translate("@code_snail का अनुसरण करें") print(translation) Like, Follow, Comment and Code :)

Vanilla JavaScript Update URL without Refresh

Today we are looking into updating the URL without doing a refresh. We can make use of the History API to access and modify the URL states. The cool part, it has superb browser support! JavaScript History API The history API is a set of methods used to manipulate history. For instance, we can go forward and backward, just like clicking the buttons in your browser. More on these methods in another article. JavaScript history.pushState Today’s focus is on the method called pushState(). We can use this method to push a new entry into the browser’s history. It doesn’t need a refresh and will show the new URL in the browser.