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.
The Java ClassLoader is one of the crucial but rarely used components of Java in Project Development. Personally I have never extended ClassLoader in any of my projects but the idea of having my own ClassLoader that can customize the Java Class Loading thrills me.
URL: https://www.progressiverobot.com/java-enum/ Enum was introduced in Java 1.5 as a new type whose fields consists of a fixed set of constants. For example, we can create directions as Java Enum with fixed fields as EAST, WEST, NORTH, and SOUTH. Java Enum !java enum, enums in java In this tutorial, we will learn know how to […]
URL: https://www.progressiverobot.com/java-inner-class/ Java inner class is defined inside the body of another class. Java inner class can be declared private, public, protected, or with default access whereas an outer class can have only public or default access. Java Nested classes are divided into two types. ### static nested class If the nested class is static, […]
URL: https://www.progressiverobot.com/java-open-file/ Sometimes we have to open a file in java program. java.awt.Desktop can be used to open a file in java. Desktop implementation is platform dependent, so first, we should check if the operating system supports Desktop or not. This class looks for the associated application registered to the current platform to open a […]
URL: https://www.progressiverobot.com/java-resultset/ Java ResultSet interface is a part of the java.sql package. It is one of the core components of the [JDBC Framework](/community/tutorials/jdbc-tutorial). ResultSet Object is used to access query results retrieved from the relational databases. ResultSet maintains cursor/pointer which points to a single row of the query results. Using navigational and getter methods provided […]
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/longest-palindrome-substring-string-java/ Longest palindrome substring in a string is a very common [java interview question](/community/tutorials/java-interview-questions). To find out the longest palindrome in [String](/community/tutorials/java-string), first of all, we need to identify the logic to do it. Longest Palindrome Substring in a String Algorithm The key point here is that from the mid of any palindrome string […]