Java

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
Java 8 Date - LocalDate, LocalDateTime, Instant — step-by-step Programming tutorial on Progressive Robot

Java 8 Date – LocalDate, LocalDateTime, Instant

URL: https://www.progressiverobot.com/java-8-date-localdate-localdatetime-instant/ Date Time API is one of the biggest features of Java 8 release. Java was missing a consistent approach for Date and Time from start and Java 8 Date Time API is a welcome addition to the core Java APIs. Why do we need new Java Date Time API? Before we start looking at […]

Read more
Java Catch Multiple Exceptions, Rethrow Exception — step-by-step Programming tutorial on Progressive Robot

Java Catch Multiple Exceptions, Rethrow Exception

URL: https://www.progressiverobot.com/java-catch-multiple-exceptions-rethrow-exception/ In Java 7, catch block has been improved to handle multiple exceptions in a single catch block. If you are catching multiple exceptions and they have similar code, then using this feature will reduce code duplication. Let's understand java catch multiple exceptions feature with an example. Java catch multiple exceptions ![java catch multiple […]

Read more
CHAT