Java

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
OOPS Concepts in Java - OOPS Concepts Example — step-by-step Programming tutorial on Progressive Robot

OOPS Concepts in Java – OOPS Concepts Example

URL: https://www.progressiverobot.com/oops-concepts-java-example/ Object-Oriented Programming Concepts are very important for programming. Without having an idea about OOPS concepts, you will not be able to design systems in the object-oriented programming model. What is Object-Oriented Programming Model? The object-oriented programming model revolves around the concept of Objects. What is an Object? An object is an instance of […]

Read more
Servlet 3 File Upload - @MultipartConfig, Part — step-by-step Programming tutorial on Progressive Robot

Servlet 3 File Upload – @MultipartConfig, Part

URL: https://www.progressiverobot.com/servlet-3-file-upload-multipartconfig-part/ Today we will look into Servlet 3 File Upload Example using @MultipartConfig annotation and javax.servlet.http.Part. Sometime back I wrote an article about [Servlet File Upload](/community/tutorials/servlet-upload-file-download-example "Servlet Upload File and Download File Example") and I used Apache FileUpload API but here we will use Servlet 3 File Upload feature. Servlet 3 File Upload Since […]

Read more
String to char array java - convert string to char — step-by-step Programming tutorial on Progressive Robot

String to char array java – convert string to char

URL: https://www.progressiverobot.com/string-char-array-java/ Sometimes we have to convert String to the character array in java programs or convert a string to char from specific index. String to char Java ![string to char java, string to char array](images/string-char-array-java-section-1.png) String class has three methods related to char. Let's look at them before we look at a java program […]

Read more
What is Abstraction in OOPS? — step-by-step Programming tutorial on Progressive Robot

What is Abstraction in OOPS?

URL: https://www.progressiverobot.com/what-is-abstraction-in-oops/ Abstraction is one of the core [concepts of Object-Oriented Programming](/community/tutorials/oops-concepts-java-example). Abstraction defines a model to create an application component. The implementation of abstraction depends on the language-specific features and processes. 1. What is Abstraction? Abstraction is the process of hiding the internal details of an application from the outer world. Abstraction is used […]

Read more
Command Design Pattern — step-by-step Programming tutorial on Progressive Robot

Command Design Pattern

Command Pattern is one of the Behavioral Design Pattern. Command design pattern is used to implement loose coupling in a request-response model. Command Pattern ![command design pattern, command pattern](images/command-design-pattern-section-1.png) In command pattern, the request is send to the invoker and invoker pass it to the encapsulated command object. Command object passes the request to the […]

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

Core Java Quiz

Welcome to Core Java Quiz. Java is an object-oriented programming language. Core Java Quiz In this quiz, you will be tested on Core Java basics and OOPS concepts. There are some code snippets too to test your basic Java coding skills. Some of the questions have multiple answers. You can click on the "Reveal Answer" […]

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

Flyweight Design Pattern in Java

Today we will look into Flyweight design pattern. Flyweight Design Pattern According to GoF, flyweight design pattern intent is: > Use sharing to support large numbers of fine-grained objects efficiently Flyweight design pattern is a Structural design pattern like [Facade pattern](/community/tutorials/facade-design-pattern-in-java "Facade Pattern in Java – Example Tutorial"), [Adapter Pattern](/community/tutorials/adapter-design-pattern-java "Adapter Design Pattern in Java […]

Read more
How To Install Apache Tomcat 7 on Ubuntu 14.04 via Apt-Get — step-by-step Linux tutorial on Progressive Robot

How To Install Apache Tomcat 7 on Ubuntu 14.04 via Apt-Get

Apache Tomcat is a web server and servlet container that is used to serve Java applications. Tomcat is an open source implementation of the Java Servlet and JavaServer Pages technologies, released by the Apache Software Foundation. This tutorial covers the basic installation and some configuration of Tomcat 7.0.x on Ubuntu 14.04.

Read more
CHAT