Articles on Trending Technologies

Technical articles with clear explanations and examples

Java program to subtract year from current date

Samual Sam
Samual Sam
Updated on 27-Aug-2024 2K+ Views

In this article, we will learn to subtract a year from the current date using Java. We will be using the Calender class of java.util package. Calendar class in Java is an abstract class that provides different methods to convert between a specific instant in time and a set of calendar fields such as HOUR, DAY_OF_MONTH, MONTH, YEAR, and so on. It is also used for manipulating the calender field. Steps to subtract year from current date Following are the steps to subtract year from current date − Import the Calendar class from the java.util package. ...

Read More

Java program to print Swastika by taking input from user

Saba Hilal
Saba Hilal
Updated on 27-Aug-2024 3K+ Views

Swastika is a religious symbol of Hinduism, Buddhism, and Jainism. In this article, we will learn to print Swastika by taking user input. Here, are three different approaches for making this design using Java. In all the approaches, the size of the Swastika is decided by the user. The user provides the input for the table or frame size. The Swastika is often used as an example to learn rows, columns, and tabular layout concepts using different languages including Java. Making Swastika using Java. Here, three different approaches are used to make this design using Java − ...

Read More

Top Web Frameworks Among Developers

Sabyasachi Samadder
Sabyasachi Samadder
Updated on 27-Aug-2024 311 Views

Developer is the most demanding profile these days, so to become a developer you have to be updated with the new technologies used by top companies and developers. Here in this article, we list down the top 10 web frameworks by considering the reports of several renowned platforms like Stack Overflow and Statista. List of Top Frameworks and Libraries Explore the leading web frameworks of 2024, favored by developers. Gain insights into their functionalities and how they can elevate your web development projects. ...

Read More

Differences between Q-learning and SARSA

Anosha khurshid
Anosha khurshid
Updated on 26-Aug-2024 729 Views

Q-learning and SARSA are both support learning calculations, yet they contrast by they way they update their worth assessments. Here is a correlation: Strategy Type Q-learning − Off-approach. Q-learning learns the worth of the ideal approach (the most ideal move) independent of the activities made by the specialist during learning. SARSA − On-strategy. SARSA learns the worth of the strategy being trailed by the specialist, including any exploratory activities. Update Rule Q-learning − The update rule for Q-learning depends on the most extreme potential compensation, meaning it involves the activity that yields the most elevated Q-esteem in ...

Read More

Difference between Chatbot and Virtual Assistant

Bodhisattwa Das
Bodhisattwa Das
Updated on 26-Aug-2024 641 Views

body { font-family: Arial, sans-serif; line-height: 1.6; margin: 20px; background-color: #f9f9f9; color: #333; } h1, h2, h3 { color: #2c3e50; } p { margin-bottom: 20px; } table { width: 100%; border-collapse: collapse; margin: 20px 0; } table, th, td { border: 1px solid #ddd; } th, td { ...

Read More

Create a Responsive Navbar using ReactJS

Shivam Mudaliar
Shivam Mudaliar
Updated on 26-Aug-2024 428 Views

Web Development usually focuses on the navbar and it is the primary mode of interaction with users - hence making a good navbar design an important element. Welcome back to another blog tutorial - Today we are gonna build a navbar that is both responsive and visually appealing using ReactJS. To make a professional and user-friendly web application, you must have an attractive navbar. We will begin with a simple React project and then build a responsive navbar using pre-designed styles to make it beautiful. Prerequisites React Basics: You must know about the basics ...

Read More

Difference between Load Testing and Stress Testing

Shirjeel Yunus
Shirjeel Yunus
Updated on 23-Aug-2024 524 Views

Performance testing of a system should be done at regular intervals. This testing helps in knowing about bottlenecks and other issues in a system. The two most common types of testing are load testing and stress testing. In this article, we will discuss the difference between Load Testing and Stress Testing. What is Performance Testing? Performance testing is performed to know about the speed, reliability, scalability, and other attributes of a software system. The two most common types of testing are load testing and stress testing. Performance testing lets the professionals know about bottlenecks and performance issues in a test ...

Read More

How to Create Countdown Timer in ReactJS?

Shivam Mudaliar
Shivam Mudaliar
Updated on 23-Aug-2024 347 Views

A countdown timer is a very common and useful feature in any web application, for example, we get it when the site switches into maintenance. An event starts at a defined time or finishes on the next day etc. In this way, using ReactJS to build a countdown timer gives you the perfect implementation — involving best state management and lifecycle methods it helps with delivering an attractive user interface completely. In this article, we are going to create a countdown time in ReactJS. Prerequisites Before you start creating your own countdown timer in ReactJS, ensure you have the ...

Read More

How to set default value in select using ReactJS?

Shivam Mudaliar
Shivam Mudaliar
Updated on 23-Aug-2024 517 Views

Across web development, the need to produce forms that are dynamic and responsive is a fundamental piece of providing an enjoyable UI/UX. ReactJS, as one of the most popular JavaScript libraries for building User interfaces provides many powerful features for managing form elements. One of these requirements is setting a default value in the dropdown element. This is particularly useful in forms where you would like to preselect an option to prompt the user or some state. In this article, we will discuss how to add a default value in the element of ReactJS and explain them with code snippets ...

Read More

Java Naming Conventions

Ankitha Reddy
Ankitha Reddy
Updated on 22-Aug-2024 4K+ Views

All Java components require names. Names used for classes, variables and methods are called identifiers. The naming conventions for different Java components are as follows: Package Naming Convention Class Naming Convention Interfaces Naming Convention Method Naming Convention Constants Naming Convention Variables Naming Convention Quick Summary Package Naming Convention Naming conventions for Java packages typically involve using lowercase letters. It's common to use ...

Read More
Showing 31981–31990 of 61,299 articles
Advertisements