Found 34469 Articles for Programming

JAVA Programming Basic

Way2Class
Updated on 18-Jul-2023 13:12:04

102 Views

JAVA is a robust, portable and highly secured programming language created by James Gosling at a company named Sun Microsystems, Inc. in 1991. The official name of this is OAK, Sun Microsystems renamed it JAVA in 1995. This company was taken over by Oracle Corporation. It is an all-purpose programming language and it is also an object-oriented programming language. JAVA is a widely used programming language in modern days. It contains various safeguards intended to prevent crashes at the time of program running such as Collection of garbage- no invalid addresses, checking of array and string boundaries, there is no ... Read More

Wiremock VS Mockito

Way2Class
Updated on 18-Jul-2023 12:54:48

946 Views

Mockito is built for testing the unit, whereas Wiremock is built specifically for the integration testing. Mockito aids itself as “a mocking framework that tastes really great” whereas wiremock stimulates itself as “a simulator for HTTP-based APIs”. Both wiremock and mockito are the technologies used for testing that is widely used for unit and integration testing in natural world applications. Developers have to understand these two important terms and how they differ from each other to use them in an effective way. Therefore, we will cover the main difference between these two extensively used tools in this article. What ... Read More

Auto Cropping Based on Labeling the Connected Components using MATLAB

Manish Kumar Saini
Updated on 18-Jul-2023 10:12:07

60 Views

In digital image processing, the auto cropping based labeling the connected components is a cropping technique in which different regions in an image are determined by using labeled connected component. After that the image is automatically cropped by extracting the surrounding area of each connecting component. The main advantage of the auto-cropping based on labeling the connected components is that it allows to isolate and extract individual regions of interest within an image. Algorithm The step-by-step process to execute the auto-cropping based on labeling the connected components is given below: Step 1 - Process the image if necessary. ... Read More

Adaptive Histogram Equalization in Image Processing Using MATLAB

Manish Kumar Saini
Updated on 18-Jul-2023 10:10:36

200 Views

Histogram equalization is a method used in image processing to improve the dynamic range of the histogram. This mathematical technique is widely used for enhancing the contrast of an image in digital image processing. This technique provides a wider and balanced distribution of pixel values in the image. Histogram equalization technique basically works by enhancing the range of brightness values in the image which makes it more visually attractive. Introduction to Adaptive Histogram Equalization (AHE) In digital image processing, the adaptive histogram equalization (AHE) is a method used for enhancing the contrast of an image. The adaptive histogram equalization ... Read More

How to delete an index from a JSON Object ?

Rohan Singh
Updated on 17-Jul-2023 19:40:52

1K+ Views

While working with JSON objects, Sometimes we need to delete an index or key from the JSON object to remove unwanted data or modify the structure. We can delete the index from a JSON object using methods like the delete operator, filter method, and lodash library. In this article, we will explore these different methods to delete an index from a JSON object. Prerequisites To follow along with the examples provided in this article, you should have a basic understanding of JavaScript and JSON syntax. Additionally, you will need a text editor or an integrated development environment (IDE) to write ... Read More

How to Debug Code in ES6 ?

Rohan Singh
Updated on 18-Jul-2023 15:38:47

72 Views

Debugging is an essential skill for developers to identify and resolve issues in their code. With the arrival of ES6 (ECMAScript 2015), JavaScript introduced several new features and syntax improvements. We can debug code in ES6 using various methods like Using Console Statements, Leveraging Debugging Tools, Employing Breakpoints, Analyzing Stack Traces, Debugging Asynchronous Code, and Advanced Debugging Techniques. This article will provide a detailed guide on how to effectively debug code in ES6. Setting Up a Development Environment Before we start debugging ES6 code, it's important to set up a suitable development environment. We can choose any code editor or ... Read More

How to select ID that starts with certain character using jQuery ?

Rohan Singh
Updated on 17-Jul-2023 18:59:47

770 Views

jQuery is a popular JavaScript library that simplifies the process of traversing and manipulating HTML documents. In web development, one common requirement is to select elements with specific attributes or properties. In this article, we will explore how to select HTML elements whose IDs start with a certain character using jQuery. Use of Selecting ID that starts with certain character Targeting Specific Groups of Elements: When working with a large number of elements, it may be necessary to group them based on a common identifier. By selecting IDs that start with a specific character, you can easily target and ... Read More

How to create a Responsive Admin Dashboard using HTML CSS & JavaScript ?

Rohan Singh
Updated on 17-Jul-2023 18:57:29

8K+ Views

An admin dashboard provides important data insights and controls for managing various aspects of an application or website. In this article, we will explore the process of creating a responsive admin dashboard using the three pillars of web development: HTML, CSS, and JavaScript. Prerequisites To follow this article, you should have a basic understanding of HTML, CSS, and JavaScript. Familiarity with concepts like responsive design, CSS Flexbox, and CSS Grid will also be helpful. Step 1: Setting Up the HTML Structure We'll start by setting up the basic HTML structure for our admin dashboard. Create a new HTML ... Read More

How to Check if two lists are reverse equal using Python?

Rohan Singh
Updated on 17-Jul-2023 19:46:09

218 Views

When working with lists in Python, there may be cases where you need to compare whether two lists are reverse equal. This means that the elements in one list are the same as the elements in the other list but in reverse order. In Python, we can check if two lists are reverse equal using methods like Reversing and Comparing Lists, using the zip() Function, converting Lists to Strings, etc. In this article, we will understand these methods and check if two lists are reverse equal with the help of various examples. Method 1:Reversing and Comparing Lists The first method ... Read More

Horizontal Concatenation of Multiline Strings in Python

Rohan Singh
Updated on 17-Jul-2023 18:47:15

678 Views

In Python, the concatenation of strings is a common operation that allows you to combine two or more strings into a single string. While concatenating strings vertically (i.e., one below the other) is straightforward, concatenating strings horizontally (i.e., side by side) requires some additional handling, especially when dealing with multiline strings. In this article, we will explore different approaches for performing horizontal concatenation of multiline strings in Python. Method 1:Using the + Operator The + operator can be used to combine two or more strings into a single string. However, when dealing with multiline strings, using the + operator may ... Read More

Advertisements