Java

Java char to String, String to char array — step-by-step Programming tutorial on Progressive Robot

Java char to String, String to char array

URL: https://www.progressiverobot.com/java-char-to-string-to-char-array/ Today we will look into java char to String program. We will also learn how to convert String to a char array. Java char to String Before we look into java char to String program, let's get to the basic difference between them. char is a primitive data type whereas String is a […]

Read more
Java do while loop — step-by-step Programming tutorial on Progressive Robot

Java do while loop

URL: https://www.progressiverobot.com/java-do-while-loop/ Java do-while loop is used to execute a block of statements continuously until the given condition is true. The do-while loop in Java is similar to [while loop](/community/tutorials/java-while-loop) except that the condition is checked after the statements are executed, so do while loop guarantees the loop execution at least once. Java do while […]

Read more
How To Use Java HttpURLConnection for HTTP GET and POST Requests — step-by-step Programming tutorial on Progressive Robot

How To Use Java HttpURLConnection for HTTP GET and POST Requests

URL: https://www.progressiverobot.com/java-httpurlconnection-example-java-http-request-get-post/ Introduction The HttpURLConnection class from java.net package can be used to send a Java HTTP Request programmatically. In this article, you will learn how to use HttpURLConnection in a Java program to send GET and POST requests and then print the response. Prerequisites For this HttpURLConnection example, you should have completed the [Spring […]

Read more
Java long to String — step-by-step Programming tutorial on Progressive Robot

Java long to String

URL: https://www.progressiverobot.com/java-long-to-string/ Today we will see different ways to convert long to string in java. Java long to string conversion can be done in many ways, we will go through them one by one with example code snippets. Java Long to String !java long to string Let's look at different code snippets for java long […]

Read more
Java REPL - jshell — step-by-step Programming tutorial on Progressive Robot

Java REPL – jshell

URL: https://www.progressiverobot.com/java-repl-jshell/ Java REPL or jshell is the new tool introduced in [java 9](/community/tutorials/java-9-features-with-examples). Today we will look into Java REPL basics and run some test programs in jshell interface. Java REPL Let's first try to understand why REPL support was added in Java, if it was that important then why in so late release. […]

Read more
Java String Quiz — step-by-step Programming tutorial on Progressive Robot

Java String Quiz

URL: https://www.progressiverobot.com/java-string-quiz/ Welcome to Java String Quiz. String is one of the most important classes in Java. If you have done any programming in java, you must have used it. The string is very popular when it comes to java interview questions or quiz. So I have gathered some great and tricky java string quiz […]

Read more
Java Web Application Tutorial for Beginners — step-by-step Programming tutorial on Progressive Robot

Java Web Application Tutorial for Beginners

URL: https://www.progressiverobot.com/java-web-application-tutorial-for-beginners/ Java Web Application is used to create dynamic websites. Java provides support for web application through Servlets and JSPs. We can create a website with static HTML pages but when we want information to be dynamic, we need web application. Java Web Application The aim of this article is to provide basic details […]

Read more
JSP Example Tutorial for Beginners — step-by-step Programming tutorial on Progressive Robot

JSP Example Tutorial for Beginners

URL: https://www.progressiverobot.com/jsp-example-tutorial-for-beginners/ Welcome to the JSP Example Tutorial for Beginners. In last few posts, a wrote a lot about Java Servlet and got very good response from our readers. So I have started another series on JSP tutorials and this is the first post of the series. JSP Example Tutorial ![jsp example, jsp tutorial, jsp […]

Read more
Mediator Design Pattern in Java — step-by-step Programming tutorial on Progressive Robot

Mediator Design Pattern in Java

URL: https://www.progressiverobot.com/mediator-design-pattern-java/ Mediator design pattern is one of the behavioral design pattern, so it deals with the behaviors of objects. Mediator design pattern is used to provide a centralized communication medium between different objects in a system. Mediator Design Pattern ![mediator pattern, mediator design pattern, mediator pattern java](images/mediator-design-pattern-java-section-1.png) According to GoF, mediator pattern intent is: […]

Read more
CHAT