Top 20 Most Common Java Interview Questions You Need To Know

Here are 20 most common Java Interview Questions you should know and how to Answer them : 1. What is the difference between ArrayList and LinkedList in Java? 2. How to implement inheritance in Java? 3. How to override a method in Java? 4. How to convert a String to an int in Java? 5. […]

Using async/await with for loop in nodejs

Asynchronous programming can be a bit tricky, especially when it comes to looping. In Node.js, the traditional for loop doesn’t play well with asynchronous functions, as the loop will continue to iterate before the asynchronous code inside of it has completed. This can lead to unexpected results and can be difficult to debug. One solution […]

Node, Express microservice with Swagger

In this article, we will discuss creating and testing a Node/Express microservice using Swagger.   Technologies node.js express.js swagger supertest   Installing swagger Before installing swagger for node.js, we need to make sure node and npm are installed. Check the same using following commands : node -v npm -v Now, we can install swagger using […]

Flutter – Convert String to int and int to String

Here is how to convert String to int and int to String in Flutter or Dart. String to int You can use int.parse(data) to convert String to int. Flutter String to int Example : main () {     var one = int.parse('1');     print(one == 1); // prints true }   Int to String You can use […]

How to change application launcher icon in Flutter

We can change the app launcher icon using following approaches : 1. Native approach to change launcher icon: Create the icons : You can either create the icons urself or use a website like https://appicon.co/   Changing app launcher icon for Android Replace the midmap* icons in android/app/arc/main/res folder with the generated ones in android […]