Wednesday, March 31, 2021

Difference Between Structured Programming and Object Oriented Programming

Structured Programming vs Object Oriented ProgrammingObject Oriented Programming (OOP) and Structured Programming are two programming paradigms. A programming paradigm is a fundamental style of computer programming. Programming paradigms differ in how each element of the programs is represented and how steps are defined for solving problems. As the...

Monday, March 29, 2021

Difference Between J2SE and J2EE

J2SE vs J2EEJava is one of the most widely used object oriented programming languages, which is used from software development to web development today. It is a general purpose and concurrent programming language. It was originally developed by Sun Microsystems in 1995. James Gosling is the father of...

Friday, March 26, 2021

Difference Between JVM and JRE

JVM vs JREJava is a cross-platform programming language. It also adheres to the “write once, run anywhere” principle. The program written in Java can be compiled in to Java bytecode by the Java compiler. Then, the bytecode can be executed on any platform running the JRE (Java Runtime...

Wednesday, March 24, 2021

Difference Between Java5 and Java6

Java5 vs Java6Java is one of the most widely used object oriented programming languages, which is used from software development to web development today. It is a general purpose and concurrent programming language. It was originally developed by Sun Microsystems in 1995. James Gosling is the father of...

Monday, March 22, 2021

Difference Between Java and Oracle

Java vs OracleOracle database (simply referred to as Oracle) is an Object Relational Database Management System (ORDBMS) that supports a large range of platforms. Oracle DBMS is available in different versions ranging from versions for personal use and enterprise class versions. It is the most widely used database...

Friday, March 19, 2021

Java Classes and Objects

Java Classes/ObjectsJava is an object-oriented programming language.Everything in Java is associated with classes and objects, along with its attributes and methods. For example: in real life, a car is an object. The car has attributes, such as weight and color, and methods, such as drive and brake.A Class...

Wednesday, March 17, 2021

Sorting HashMap by Value in Java 8 in Ascending and Descending Order

A quick guide to sort HashMap by value in java and new java 8 api in ascending or descending order.1. OverviewMost of the times, we do sort the hashmap based on the keys but not rather than its values. There are some scenarios for example HashMap stores the...

Monday, March 15, 2021

Java 9 Modules: part 1

In this blog we will go through one of the most important features of java 9, which is ‘Modules’ aka ‘Java Platform Module System (JPMS)’. We will understand everything about JPMS like, what is module? How it helps to add modules? and How to create and use module?...

Friday, March 12, 2021

Immutable Mutable Objects

There are some strong reasons why we may want to make genuinely immutable objects. Then there are various frameworks which operate on mutable objects, thus preventing us from using an immutable object pattern. Perhaps we even have a situation where a particular class needs to be mutable, but...

Wednesday, March 10, 2021

Handling Cross-Site Scripting (XSS) in Java

Cross-site scripting (XSS) is a type of security vulnerability in web applications where an attacker injects malicious scripts through some kind of user input (like input boxes, URL parameters, HTML headers, etc)It is important to prevent XSS attacks to safeguard the confidentiality, integrity, and availability of the information...

Monday, March 8, 2021

Sorting ArrayList in Reverse or Descending Order in Java 8

A quick guide on how to sort the arraylist in descending order or reverse order in java and example programs using Collections.reverseOrder() method.1. OverviewIn this article, We will learn how to sort ArrayList in descending order in java. Sometimes this is referred as collections reverse or decreasing order.To...

Friday, March 5, 2021

Java String Programs – Programming Examples for Interviews (2021)

A quick guide to java string based interview programming questions and examples.1. OverviewIn this post, We will see what are the String programs frequently asked in the java interviews.All may be asked in the face to face or telephonic technical rounds. Every java programmer must know all of...

Wednesday, March 3, 2021

Automate Technical Documentation using Jamal

IntroductionWriting good technical documentation is an art.An art is the expression or application of human creative skill and imagination, … to be appreciated primarily for their beauty or emotional power.But every art, like sculpting, has a craft part. You need chisels, hammers to form the sculpture out of...

Pages (26)1234567 »