Java 8 Features with Examples
Discover the powerful features of Java 8, including lambda expressions, streams, and method references. Enhance your Java programming with these modern additions.
Discover the powerful features of Java 8, including lambda expressions, streams, and method references. Enhance your Java programming with these modern additions.
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 […]
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 […]
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 […]
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 […]
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. […]
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 […]
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 […]
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 […]
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  According to GoF, mediator pattern intent is: […]