Skip to content
codenuclear.com

codeNuclear

a source of knowledge.

  • Java
    • Java 8
    • Java 9
    • Java 10
    • Java 11
    • Design Pattern
    • Web Service
    • Scala
    • Java Essential Differences
    • Java Must Read Articles
  • Docker
  • Database
    • Trigger
    • Functions
  • Algorithm
  • Spring
    • Spring Boot
    • Spring Interview Questions
  • Code Exclusive
    • Infographic
  • Mind Twister
    • Matchstick Puzzles
    • Riddle
  • Contact Us

Author: codeNuclear

Servlet Interview Questions and Answers

October 29, 2017April 9, 2019 codeNuclearLeave a Comment on Servlet Interview Questions and Answers
What is different between web server and application server? A web server is responsible to handle HTTP requests from client browsers and respond to HTML response. A web server understands
Read More

Web Services Interview Questions and Answers

October 29, 2017April 9, 2019 codeNuclearLeave a Comment on Web Services Interview Questions and Answers
What is a Web Service? A Web Service can be defined as an application component for communication or say exchanging information between two applications over the network. Web services basically
Read More

Java Interview Questions

October 29, 2017November 2, 2017 codeNuclear3 Comments on Java Interview Questions
Core Java Interview Questions and Answers Core Java is the starting point of any Java interview. Whether you are fresher or experienced in java, having a strong grip on Core
Read More

How to Parse HTML in Java using Jsoup

October 17, 2017November 16, 2017 codeNuclearLeave a Comment on How to Parse HTML in Java using Jsoup
Overview Jsoup is an open source Java library, It used to parse data from HTML Documents. It provides a very convenient API for extracting and manipulating data, using the best
Read More

Singleton Design Pattern in Java

October 17, 2017December 16, 2017 codeNuclear2 Comments on Singleton Design Pattern in Java
Overview Singleton pattern is a design solution which application to have only one instance of any class in Java Virtual Machine. Singleton Patterns are used where we need only one
Read More

JAX-RS XML Example With JAXB Using Jersey

October 16, 2017April 9, 2019 codeNuclearLeave a Comment on JAX-RS XML Example With JAXB Using Jersey
In this article we are going to see how you can integrate JAX-RS Jersey with JAXB (Java Architecture for XML Binding) to create RESTful services that produce XML streams. As
Read More

Spring Interview Questions

October 9, 2017April 9, 2019 codeNuclear6 Comments on Spring Interview Questions
What is Spring? Spring is an open source development framework for Enterprise Java.Spring framework core concepts are “Dependency Injection” and “Aspect Oriented Programming”.Spring framework can be used in normal java
Read More

Core Java Interview Questions and Answers

October 8, 2017April 9, 2019 codeNuclear1 Comment on Core Java Interview Questions and Answers
Why Java is platform independent? We can run the same Java Program in any Operating System. For example, We can write java program in Windows and run it in Mac
Read More

Oracle PL/SQL – DROP FUNCTION Statement

October 6, 2017October 25, 2017 codeNuclearLeave a Comment on Oracle PL/SQL – DROP FUNCTION Statement
Oracle PL/SQL – DROP FUNCTION Statement This article will help you to understand “Oracle PL/SQL – DROP FUNCTION Statement” with example and description. The DROP FUNCTION statement drops a standalone
Read More

Oracle PL/SQL – ALTER FUNCTION Statement

October 6, 2017October 25, 2017 codeNuclear1 Comment on Oracle PL/SQL – ALTER FUNCTION Statement
Oracle PL/SQL – ALTER FUNCTION Statement This article will help you to understand “Oracle PL/SQL – ALTER FUNCTION Statement” with example and description. Oracle PL/SQL – ALTER FUNCTION statement explicitly
Read More

Oracle PL/SQL – Create Function Example

October 6, 2017October 14, 2017 codeNuclearLeave a Comment on Oracle PL/SQL – Create Function Example
Oracle PL/SQL – Create Function Example This article will help you to understand “Oracle PL/SQL – Create Function” with examples and description. Oracle PL/SQL – CREATE FUNCTION statement is used
Read More

Stream API in Java 8

October 4, 2017October 9, 2017 codeNuclear2 Comments on Stream API in Java 8
Overview The Stream API offers easy filtering, counting, and a mapping of collections, as well as different ways to get slices and subsets of information out of them. It also
Read More

JAX-RS @QueryParam Example in Java

October 4, 2017April 9, 2019 codeNuclear2 Comments on JAX-RS @QueryParam Example in Java
In RESTful web services (JAX-RS) @QueryParam annotation will be used to get the query parameters from the URL, Observe carefully, i am saying we will retrieve the parameters only not
Read More

JAX-RS @Path URI Matching Example in Java

October 4, 2017April 9, 2019 codeNuclear4 Comments on JAX-RS @Path URI Matching Example in Java
The @Path annotation identifies the URI path template to which the resource responds, and is specified at the class level of a resource. The @Path annotation’s value is a partial
Read More

JSTL Tab Library | Infographic

October 1, 2017April 7, 2019 codeNuclearLeave a Comment on JSTL Tab Library | Infographic

Web Services with JAX-RS Example

September 28, 2017April 9, 2019 codeNuclearLeave a Comment on Web Services with JAX-RS Example
What is a Web Service A Web Service is can be defined by following ways: is a client server application or application component for communication. method of communication between two
Read More

Excel Shortcuts | Infographic

September 26, 2017April 7, 2019 codeNuclearLeave a Comment on Excel Shortcuts | Infographic

Eclipse Shortcuts | Infographic

September 26, 2017April 7, 2019 codeNuclearLeave a Comment on Eclipse Shortcuts | Infographic

SQL Joins | Infographic

September 26, 2017April 7, 2019 codeNuclearLeave a Comment on SQL Joins | Infographic

HTML5 Elements | Infographic

September 21, 2017April 7, 2019 codeNuclearLeave a Comment on HTML5 Elements | Infographic

Compact Strings in Java 9

September 20, 2017September 26, 2017 codeNuclearLeave a Comment on Compact Strings in Java 9
Java 9 brings a new improved string, which in most cases, will reduce String memory consumption to half. Why Compact Strings required in Java 9? Strings in Java are internally
Read More

Process API Improvements in Java 9

September 19, 2017September 20, 2017 codeNuclearLeave a Comment on Process API Improvements in Java 9
Overview Java 9 is adding a new way of getting information about current and any spawned processes. The primary goal of the developers is, to make it easier for you
Read More

Convenience Factory Methods For Collections In Java 9

September 12, 2017September 13, 2017 codeNuclearLeave a Comment on Convenience Factory Methods For Collections In Java 9
Overview Convenience Factory Methods for Collections defines several factory methods for conveniently creating instances of unmodifiable collections and maps with small numbers of elements. It is to ease the pain
Read More

How to create Module in Java 9 with Eclipse

September 9, 2017April 9, 2019 codeNuclear7 Comments on How to create Module in Java 9 with Eclipse
We have discussed Java 9 Modularity and Module System. Refer for more details. Here we will discuss how to create module in Java 9 with Eclipse IDE, Listed steps will
Read More

Java 9 Modularity and Jigsaw Project

September 9, 2017April 9, 2019 codeNuclear2 Comments on Java 9 Modularity and Jigsaw Project
Introduction to Java 9 Modularity and Jigsaw Project How do you think about Module? As lines of code? As bits and bytes? UML diagrams? Maven POMs? A code base consists
Read More

Private Methods in Interface – Java 9

September 4, 2017September 5, 2017 codeNuclear2 Comments on Private Methods in Interface – Java 9
Java 9 Private Methods in Interface This article will help you to understand “java 9 private methods in interface.” Java 9 is going to release with Private Method in Interface.
Read More

How to read XML file in Java Using DOM Parser

September 3, 2017September 16, 2017 codeNuclearLeave a Comment on How to read XML file in Java Using DOM Parser
How to read XML file in Java Using DOM Parser In this article, we will learn how to read XML file in java using DOM Parser. DOM stands for Document
Read More

Can You Crack The Code : Riddle Mystery 3

September 1, 2017April 5, 2019 codeNuclear4 Comments on Can You Crack The Code : Riddle Mystery 3
Can You Crack The Code Riddle Mystery 3 In this article “Can You Crack The Code Riddle Mystery 3”, you will find very interesting Riddle Mystery. A Number Lock has
Read More

How to read XML file in Java Using SAX Parser

September 1, 2017September 16, 2017 codeNuclearLeave a Comment on How to read XML file in Java Using SAX Parser
How to read XML file in Java Using SAX Parser In this article, we will learn how to read XML file in java using SAX Parser. SAX parser, or Simple
Read More

Spring MVC Form Handling Example

August 30, 2017April 9, 2019 codeNuclearLeave a Comment on Spring MVC Form Handling Example
we will learn Spring MVC Form handling without using database. Here, we will use @Controler, @RequestMapping and @ModelAttribute annotations. To display the input form, we are going to use <form:form>
Read More

Setter Injection with Dependent Object

August 30, 2017October 18, 2017 codeNuclearLeave a Comment on Setter Injection with Dependent Object
We can inject dependency of another class object into current bean using setter injection.In such case, we use property element. Here, our scenario is Employee HAS-A Address. The Address class
Read More

Spring Setter Injection with Collection

August 30, 2017October 18, 2017 codeNuclearLeave a Comment on Spring Setter Injection with Collection
Spring Setter Injection with Collection We can inject collection values by setter method in spring framework. There can be used three elements inside the property element. It can be: list
Read More

Spring MVC flow with Example

August 30, 2017April 9, 2019 codeNuclear10 Comments on Spring MVC flow with Example
Spring MVC is mostly used with Spring for any web application development. It is very powerful and nice layered architecture for flow and configuration. It is very flexible to integrate
Read More

Useful Commands in JShell – Java 9

August 28, 2017August 28, 2017 codeNuclear1 Comment on Useful Commands in JShell – Java 9
JShell has a great collection of commands, descriptions available from the ‘/help’ command. However, sometimes the terse descriptions given in JShell itself are not quite enough. So, here is a
Read More

Introduction to the Date/Time API – Java 8

August 27, 2017April 9, 2019 codeNuclearLeave a Comment on Introduction to the Date/Time API – Java 8
Java 8 introduced new APIs for Date and Time to address the shortcomings of the older java.util.Date and java.util.Calendar. 1. Java 8 Date Time API Packages Java 8 Date Time
Read More

Inject collection values by constructor

August 19, 2017October 18, 2017 codeNuclearLeave a Comment on Inject collection values by constructor
Inject collection values by constructor We can inject collection values by constructor in spring framework. There can be used three elements inside the constructor-arg element. It can be: list set
Read More

Constructor Injection with Dependent Object

August 18, 2017October 18, 2017 codeNuclearLeave a Comment on Constructor Injection with Dependent Object
Constructor Injection with Dependent Object This article contains detailed description with example on “Constructor Injection with Dependent Object” topic. Whenever we have HAS-A relationship between the classes, instance of dependent
Read More

Selection Sort Algorithm

August 13, 2017April 9, 2019 codeNuclear1 Comment on Selection Sort Algorithm
Selection Sort Algorithm Selection sort is a sorting algorithm, specifically an in-place comparison sort. It has O(n2) time complexity, making it inefficient on large lists, and generally performs worse than
Read More

Quick Sort Algorithm

August 13, 2017April 9, 2019 codeNuclear4 Comments on Quick Sort Algorithm
Quick Sort Algorithm Quick sort (sometimes called partition-exchange sort) is an efficient sorting algorithm. It is a commonly used algorithm for sorting. When implemented well, it can be about two
Read More

Matchsticks Puzzles – Set 3

August 9, 2017April 5, 2019 codeNuclearLeave a Comment on Matchsticks Puzzles – Set 3
Matchsticks Puzzles – Set 3 This article contains Matchsticks Puzzles – set 3 3 Squares and 2 Unused matchsticks In a given matchsticks diagram 3 squares, 2 matchsticks are unused.
Read More

8 New Features of Java 9

August 9, 2017April 9, 2019 codeNuclear2 Comments on 8 New Features of Java 9
Java 9 Features Java 9 comes with a rich feature set. Although there are no new language concepts in Java 9 Features, new APIs and diagnostic commands will definitely be
Read More

Matchsticks Puzzles – Set 2

August 3, 2017April 5, 2019 codeNuclearLeave a Comment on Matchsticks Puzzles – Set 2
Matchsticks Puzzles – Set 2 This article contains Matchsticks Puzzles – set 2 Change Swimming Direction of Fish to Opposite In a given matchsticks diagram of Fish, Move 3 matchsticks
Read More

Merge Sort Algorithm

August 2, 2017April 9, 2019 codeNuclearLeave a Comment on Merge Sort Algorithm
Merge Sort Algorithm Merge sort algorithm is an efficient, comparison-based sorting algorithm. Most implementations produce a stable sort, which means that the implementation preserves the input order of equal elements
Read More

Insertion Sort Algorithm

August 2, 2017April 9, 2019 codeNuclearLeave a Comment on Insertion Sort Algorithm
Insertion Sort Algorithm Insertion sort algorithm is a simple sorting algorithm that builds the final sorted array (or list) one item at a time. It is much less efficient on
Read More

Linear or Sequential Search Algorithm

August 1, 2017April 9, 2019 codeNuclearLeave a Comment on Linear or Sequential Search Algorithm
Linear or Sequential Search Algorithm Linear or sequential search algorithm is a method for finding a target value within a list. It sequentially checks each element of the list for
Read More

Serialization and Deserialization in Java

August 1, 2017April 9, 2019 codeNuclear1 Comment on Serialization and Deserialization in Java
Serialization: Serialization is a mechanism of converting the state of an object into a byte stream. Deserialization: Deserialization is a mechanism to convert back to object from the byte stream.
Read More

Matchsticks Puzzles – Set 1

July 29, 2017April 5, 2019 codeNuclearLeave a Comment on Matchsticks Puzzles – Set 1
Wine glass and Ice Cube In given a wine glass and ice cube image, move any 2 matchsticks such a way that ice cube should come out of from the
Read More

Spring Boot Maven Project

July 28, 2017April 9, 2019 codeNuclear2 Comments on Spring Boot Maven Project
Spring Boot which is build upon Spring foundation itself, takes convention over configuration to the next level by reducing the development time many-fold, enabling your projects up and running as
Read More

Spring Boot Introduction

July 28, 2017September 16, 2017 codeNuclear1 Comment on Spring Boot Introduction
Spring is the most popular and innovative community for the Java developers. They have changed the way how to build the enterprise applications and how to manage them. Spring Boot
Read More

Sum up ArrayList via Java Stream in Java 8

July 28, 2017January 28, 2018 codeNuclearLeave a Comment on Sum up ArrayList via Java Stream in Java 8
Sum up ArrayList via Java Stream in Java 8 This article will help you to understand How to Sum up ArrayList via Java Stream in Java 8. Java Program of
Read More

Dependency Injection by Setter method

July 26, 2017October 18, 2017 codeNuclearLeave a Comment on Dependency Injection by Setter method
The Spring IoC container also supports dependency injection by setter method, which is the preferred method of dependency injection in Spring. The property subelement of bean is used for setter
Read More

Dependency Injection by Constructor Injection

July 25, 2017October 18, 2017 codeNuclearLeave a Comment on Dependency Injection by Constructor Injection
This article will explore a specific type of DI technique called Constructor-Based Dependency Injection within Spring. We can inject the dependency by constructor.The constructor-arg subelement of bean is used for
Read More

Java Enum

July 14, 2017July 31, 2017 codeNuclearLeave a Comment on Java Enum
Enum in Java is a keyword. It is used to represent a fixed number of predefined values. Enumeration (Enum) in Java was introduced in JDK 1.5. Enums are lists of
Read More

Factory Design Pattern in Java

July 14, 2017December 16, 2017 codeNuclear2 Comments on Factory Design Pattern in Java
Factory Method is known as a creational pattern. As the term present it is used to create something. To create objects such that it kept decoupled from implementor. It is
Read More

Comparator in Java with Example

July 14, 2017August 27, 2017 codeNuclear1 Comment on Comparator in Java with Example
Comparator interface lies in java.util package. It is used to short object in defined order i.e. sort two objects based on defined criteria. The compare(Object o1, Object o2) method of
Read More

Comparable in Java with Example

July 14, 2017December 3, 2017 codeNuclearLeave a Comment on Comparable in Java with Example
Comparable interface lies in java.lang package. It is used to sort object in their natural order, i.e. number by numeric order, text in lexical order, dates in chronological order. Similarly,
Read More

hashCode() Method in Java

July 14, 2017July 18, 2017 codeNuclearLeave a Comment on hashCode() Method in Java
The hashCode() method of objects is used when you insert them into a HashTable, HashMap or HashSet. An object’s hash code allows algorithms and data structures to put objects into
Read More

equals() Method in Java

July 14, 2017April 9, 2019 codeNuclearLeave a Comment on equals() Method in Java
equals() method in Java to check if two objects are equal. Two objects are considered to be equal when they are identical (contain the same data) or in other words
Read More

Java Primitive and Non Primitive Data Types

July 14, 2017July 30, 2017 codeNuclearLeave a Comment on Java Primitive and Non Primitive Data Types
Primitive Data Type Primitive means “very basic”. It is simple and normal types. Value of primitive is stored in memory location or memory location is given to variable. For example
Read More

java.lang.System Class

July 12, 2017July 27, 2017 codeNuclear1 Comment on java.lang.System Class
We are using System.out.print() function in our daily programming to print data or debug code. The System class contains several useful class fields and methods. System class is final and
Read More

RENAME Trigger

July 11, 2017September 16, 2017 codeNuclearLeave a Comment on RENAME Trigger
Rename Trigger This Article will help you to understand “RENAME Trigger” with example and it’s detailed description. ALTER TRIGGER statement used to RENAME the trigger. Example We will create table
Read More

DROP Trigger

July 11, 2017September 16, 2017 codeNuclearLeave a Comment on DROP Trigger
Drop Trigger DROP TRIGGER statement drops a database trigger from the database. Example We will create table “demo_data”. Then create trigger “trg_drop_example” on demo_data table. We will check the trigger
Read More

Disable ALL Trigger

July 11, 2017September 16, 2017 codeNuclearLeave a Comment on Disable ALL Trigger
Disable ALL Trigger “Disable ALL Trigger” Article will help you to understand “Disable ALL Triggers of the table” with examples and it’s detailed description. ALTER TABLE statement used to disable
Read More

Disable Trigger

July 11, 2017September 16, 2017 codeNuclearLeave a Comment on Disable Trigger
Disable Trigger This Article will help you to understand “Disable Trigger” with examples and it’s detailed description. By Default, trigger status is ENABLED. Sometimes we will need to DISABLE trigger
Read More

Enable ALL Trigger

July 11, 2017September 16, 2017 codeNuclearLeave a Comment on Enable ALL Trigger
Enable ALL Trigger This Article will help you to understand “Enable ALL Trigger of the table” with examples and it’s detailed description. Sometimes you will found that all triggers of
Read More

Enable Trigger

July 11, 2017October 25, 2017 codeNuclearLeave a Comment on Enable Trigger
Enable Trigger This Article will help you to understand “Enable Trigger” with examples and it’s detailed description. Sometimes you will found that the trigger is DISABLED and you need to
Read More

Oracle PL/SQL Instead Of DML Triggers Example

July 11, 2017September 16, 2017 codeNuclear1 Comment on Oracle PL/SQL Instead Of DML Triggers Example
INSTEAD OF DML Trigger Example This Article will help you to understand “INSTEAD OF DML trigger statement” with examples and it’s detailed description. An INSTEAD OF trigger is A DML
Read More

Oracle PL/SQL After DELETE Trigger Example

July 11, 2017September 16, 2017 codeNuclear1 Comment on Oracle PL/SQL After DELETE Trigger Example
Oracle PL/SQL After DELETE Trigger Example Overview This Article will help you to understand “AFTER DELETE TRIGGER statement” with After DELETE Trigger Example and it’s detailed description. This statement specifies
Read More

Oracle PL/SQL Before DELETE Trigger Example

July 11, 2017September 16, 2017 codeNuclearLeave a Comment on Oracle PL/SQL Before DELETE Trigger Example
Oracle PL/SQL Before DELETE Trigger Example Overview This Article will help you to understand “BEFORE DELETE TRIGGER statement” with Before DELETE Trigger Example and it’s detailed description. This statement specifies
Read More

Oracle PL/SQL After UPDATE Trigger Example

July 11, 2017September 16, 2017 codeNuclearLeave a Comment on Oracle PL/SQL After UPDATE Trigger Example
Oracle PL/SQL After UPDATE Trigger Example Overview This Article will help you to understand “AFTER UPDATE TRIGGER statement” with examples and it’s detailed description. This statement specifies that Oracle will
Read More

Oracle PL/SQL Before UPDATE Trigger Example

July 11, 2017September 16, 2017 codeNuclearLeave a Comment on Oracle PL/SQL Before UPDATE Trigger Example
Oracle PL/SQL Before UPDATE Trigger Example Overview This Article will help you to understand “BEFORE UPDATE TRIGGER statement” with examples and it’s detailed description. This statement specifies that Oracle will
Read More

Binary Search Algorithm

July 10, 2017April 9, 2019 codeNuclearLeave a Comment on Binary Search Algorithm
Binary Search Algorithm Binary search algorithm requires already sorted collection. Binary search, (also known as half-interval search, logarithmic search, or binary chop) is a search algorithm that finds the position
Read More

Oracle PL/SQL After INSERT Trigger Example

July 10, 2017September 16, 2017 codeNuclearLeave a Comment on Oracle PL/SQL After INSERT Trigger Example
Oracle PL/SQL After INSERT Trigger Example Overview This Article will help you to understand “AFTER INSERT TRIGGER statement” with examples and it’s detailed description. This statement specifies that Oracle will
Read More

Oracle PL/SQL Before INSERT Trigger Example

July 9, 2017September 16, 2017 codeNuclear1 Comment on Oracle PL/SQL Before INSERT Trigger Example
Oracle PL/SQL Before INSERT Trigger Example Overview This Article will help you to understand “BEFORE INSERT TRIGGER statement” with examples and it’s detailed description. This statement specifies that Oracle will
Read More

Recent Posts

  • LeetCode – Sort Characters By Frequency
  • LeetCode – Count Square Submatrices with All Ones
  • LeetCode – Kth Smallest Element in a BST
  • LeetCode – Online Stock Span
  • LeetCode – Permutation in String
  • LeetCode – Find All Anagrams in a String
  • LeetCode – Odd Even Linked List
  • LeetCode – Maximum Sum Circular Subarray
  • LeetCode – Implement Trie (Prefix Tree)
  • LeetCode – Remove K Digits

Categories

  • Algorithm (78)
  • Design Pattern (8)
  • Docker (5)
  • Flutter (2)
  • Functions (3)
  • Infographic (5)
  • Java (30)
  • Java 10 (1)
  • Java 11 (1)
  • Java 8 (8)
  • Java 9 (12)
  • Java Essential Differences (11)
  • Java Must Read Articles (3)
  • Matchstick Puzzles (3)
  • Riddle (3)
  • Scala (5)
  • Spring (11)
  • Spring Boot (2)
  • Trigger (13)
  • Web Service (14)

Like Us On Facebook

Facebook Pagelike Widget

Recent Posts ::

  • LeetCode – Sort Characters By Frequency
  • LeetCode – Count Square Submatrices with All Ones
  • LeetCode – Kth Smallest Element in a BST
  • LeetCode – Online Stock Span
  • LeetCode – Permutation in String

Categories ::

  • Java
  • Algorithm
  • Database
  • Spring
  • Spring Boot
  • Web Service
  • Java Interview Programs
  • Java Must Read Articles
  • Infographic
  • Matchstick Puzzles
  • Riddle

Get to Know Us ::

codeNuclear is a web developers’ site, with tutorials and references on web development languages such as Java, Python, PHP and Database covering most aspects of web programming.
codeNuclear is for knowledge sharing and providing a solution of problems, we tried to put simple and understandable examples which are tested on the local development environment.

Follow Us ::

Visit Us On FacebookVisit Us On TwitterVisit Us On Instagram

Download App ::

Download from Google Play
Copyright © 2021 codeNuclear
:: Privacy Policy:: Powered by WordPress