Articles on Trending Technologies

Technical articles with clear explanations and examples

Java program to extract a single quote enclosed string from a larger string using Regex

Pranay Arora
Pranay Arora
Updated on 16-Sep-2024 1K+ Views

Regex or Regular Expression is the language used for pattern-matching and string manipulation. It consists of a sequence of characters that define a search pattern and can be used for performing actions like search, replace, and even validate on text input. A regular expression consists of a series of characters and symbols that amount to form a search pattern. In this article, we are going to see how to write a Java program to extract a single quote-enclosed string from a larger string using Regex. Java provides support for regex from the java.util.regex package. The pattern class represents a compiled ...

Read More

Gamification: Definition, Tools, Applications and Examples

Shirjeel Yunus
Shirjeel Yunus
Updated on 16-Sep-2024 736 Views

What is Gamification? Gamification is a technique in which games are added to a non-game environment which helps in keeping the people engaged. Gamification is performed so that consumers can be attracted and engaged and partners can be invited for collaboration. This is a technique in which a game-like environment is produced for the motivation and engagement of users. Game principles and game design elements are used for gamification. Types of Gamification There are different types of gamifications which we will discuss here in detail − 1. Educational Gamification Gamification can be introduced in the field of education where ...

Read More

How to Unstage a Deleted File in Git?

Git
Manoj Kumar
Manoj Kumar
Updated on 16-Sep-2024 399 Views

Git is version control system that is used for managing the code changes during the software development. Git stores the changes as snapshots which are staged and then committed. Not just the changes in code, git will also stores information about the addition and deletion of files. Sometimes, you may want to unstage or revert the deletion of a file before committing it. This article will guide you through the process of unstaging a file in Git, providing a step-by-step explanation.Steps to Unstage a Deleted FileStep 1: Check the StatusFirst check the status of the deleted file which has been ...

Read More

Java program to check whether a number is positive or negative

Shriansh Kumar
Shriansh Kumar
Updated on 13-Sep-2024 1K+ Views

In this article, we will learn to check whether the number is positive or negative in Java. To check whether the specified number is positive or negative can be determined with respect to 0. A number greater than 0 is considered a positive number whereas a number less than 0 is considered a negative number, we can use Java conditional statements like if-else-if blocks or ternary operators. Before that let's discuss the problem statement with the help of examples − Problem Statement Given an integer number as an input, write a Java program to check whether the number is positive ...

Read More

Java program to find whether given character is vowel or consonant

karthikeya Boyini
karthikeya Boyini
Updated on 13-Sep-2024 14K+ Views

In this article, we will learn to find whether a given character is a vowel or consonant using Java. In the English alphabet, the characters 'a', 'e', 'i', 'o', and 'u' are vowels and the remaining letters are consonants. To find whether the given letter is a vowel or consonant. Using a loop and or operator verify whether the given character is 'a' or 'e' or 'i' or 'o' or 'u' else it is consonant. Steps to find whether given character is vowel or consonant Following are the steps to find whether given character is a vowel or consonant− ...

Read More

Java program to find if the given number is a leap year?

Chandu yadav
Chandu yadav
Updated on 13-Sep-2024 80K+ Views

In this article, we will learn to find if a year is a leap year or not using Java. Finding whether a year is a leap or not is a bit tricky. We generally assume that if a year number is evenly divisible by 4 is a leap year. But it is not the only case. A year is a leap year if − It is evenly divisible by 100 If it is divisible by 100, then it should also be divisible by 400 Except this, all ...

Read More

Java program to print diamond star pattern

Alshifa Hasnain
Alshifa Hasnain
Updated on 13-Sep-2024 1K+ Views

In this article, we will understand how to print the Diamond Star pattern using Java. The pattern is formed by using multiple for-loops and print statements. Output Below is the demonstration of the diamond star pattern − The diamond star pattern : * *** ***** ******* ********* *********** ************* *************** ************* *********** ********* ******* ***** ...

Read More

Top Skills You Must Know Before You Learn ReactJS

Mohd Sahib Raza
Mohd Sahib Raza
Updated on 12-Sep-2024 172 Views

ReactJS has emerged as one of the most sought-after front-end development library for implementing user interfaces in specifically single-page applications. Composability: Its use of component-based architecture makes it easy to create games with it. Flexibility: Due to its efficient rendering and its active ecosystem. This, however, involves immersing oneself in React before going through some crucial areas that make the process of learning React even more challenging than it should be. Skills You Must Know Before Learning ReactJS In this article, we will describe the fundamental concepts ...

Read More

Open AI\'s Sora: What It Is, How It Works, and Use Cases

Sumana Challa
Sumana Challa
Updated on 12-Sep-2024 602 Views

The raise of artificial intelligence has started with the development of ChatGPT, a generative model that provides text information based on prompts. This model has grabbed everyone's attention towards generative AI. The next came generation of images based on textual prompts and images. The new-age revolution in AI is the developed of a model that generated video's based on the description provided by the user. What is OpenAI Sora? OpenAI Sora is an artificial intelligence model developed by OpenAI to create realistic and creative videos based on the textual description provided by the users. The main goal is to ...

Read More

How to Develop User Registration Form in React JS?

Nickey Bricks
Nickey Bricks
Updated on 12-Sep-2024 2K+ Views

Developing user registration forms in ReactJS is easier said than done. This is because the process entails detecting unregistered users, acquiring authorization from registered users, and registering new users. Fortunately, react offers a convenient method for executing the user registration process in just a few steps. Prerequisites A few things you ought to have before you can start developing your user registration form. Basic knowledge of how hooks work in React to simplify state management and side effects. Common hooks you ought to familiarize yourself with include the ‘useState’ and ‘useEffect’ (for additional effects) ...

Read More
Showing 31911–31920 of 61,297 articles
Advertisements