Programming

50 Servlet Interview Questions and Answers — step-by-step Programming tutorial on Progressive Robot

50 Servlet Interview Questions and Answers

URL: https://www.progressiverobot.com/servlet-interview-questions-and-answers/ Servlets is a very important topic of Java EE and all of the web applications frameworks such as Spring and Struts is built on top of it. This makes servlet interview questions a hot topic in interviews. Here I am providing a list of 50 servlet interview questions with answers to help you […]

Read more
String to byte array, byte array to String in Java — step-by-step Programming tutorial on Progressive Robot

String to byte array, byte array to String in Java

URL: https://www.progressiverobot.com/string-byte-array-java/ Today we will learn how to convert String to byte array in java. We will also learn how to convert byte array to String in Java. String to byte array We can use String class getBytes() method to encode the string into a sequence of bytes using the platform's default charset. This method […]

Read more
ThreadPoolExecutor - Java Thread Pool Example — step-by-step Programming tutorial on Progressive Robot

ThreadPoolExecutor – Java Thread Pool Example

URL: https://www.progressiverobot.com/threadpoolexecutor-java-thread-pool-example-executorservice/ Java thread pool manages the pool of worker threads. It contains a queue that keeps tasks waiting to get executed. We can use ThreadPoolExecutor to create thread pool in Java. Java thread pool manages the collection of Runnable threads. The worker threads execute Runnable threads from the queue. java.util.concurrent.Executors provide factory and support […]

Read more
Understanding Data Types in Go — step-by-step Programming tutorial on Progressive Robot

Understanding Data Types in Go

Data types specify the kinds of values that particular variables will store when you are writing a program. The data type also determines what operations can be performed on the data. In this article, we will go over the important data types native to the Go programming language. Understanding some basic data types will enable you to write clearer code that performs efficiently.

Read more
An insight into the configuration of Capistrano #1 — step-by-step Programming tutorial on Progressive Robot

An insight into the configuration of Capistrano #1

This article begins to cover the details of setting up Capistrano. Capistrano is a framework for automating rails deploys and allowing you to execute multiple commands in parallel on remote servers. This tutorial covers the different sections of the capistrano configuration file.

Read more
Breadth-First Search (BFS) and Depth-First Search (DFS) for Binary Trees in Java — step-by-step Programming tutorial on Progressive Robot

Breadth-First Search (BFS) and Depth-First Search (DFS) for Binary Trees in Java

Breadth-First Search and Depth-First Search are two techniques of traversing graphs and trees. In this tutorial, we will focus mainly on BFS and DFS traversals in trees. What is Depth First Search (DFS)? The algorithm begins at the root node and then it explores each branch before [backtracking](/community/tutorials/n-queens-problem-java-c-plus-plus). It is implemented using stacks. Often while […]

Read more
Comparable and Comparator in Java Example — step-by-step Programming tutorial on Progressive Robot

Comparable and Comparator in Java Example

Comparable and Comparator in Java are very useful for sorting the collection of objects. Java provides some inbuilt methods to sort primitive types array or Wrapper classes array or list. Here we will first learn how we can sort an array/list of primitive types and wrapper classes and then we will use java.lang.Comparable and java.util.Comparator […]

Read more
CHAT