Programming

Enum in Java — step-by-step Programming tutorial on Progressive Robot

Enum in Java

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 […]

Read more
Java Inner Class — step-by-step Programming tutorial on Progressive Robot

Java Inner Class

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, […]

Read more
How to open a File in Java — step-by-step Programming tutorial on Progressive Robot

How to open a File in Java

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 […]

Read more
Java ResultSet Tutorial — step-by-step Programming tutorial on Progressive Robot

Java ResultSet Tutorial

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 […]

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
Longest Palindrome Substring in a String in Java — step-by-step Programming tutorial on Progressive Robot

Longest Palindrome Substring in a String in Java

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 […]

Read more
N-Queens problem using backtracking in Java/C++ — step-by-step Programming tutorial on Progressive Robot

N-Queens problem using backtracking in Java/C++

URL: https://www.progressiverobot.com/n-queens-problem-java-c-plus-plus/ If you love playing chess, you'll enjoy learning about the N-queens problem. It is a good problem to understand backtracking. What is Backtracking? In backtracking, we start with one pos­si­ble move out of many avail­able moves. We then try to solve the prob­lem. If we are able to solve the prob­lem with the […]

Read more
CHAT