Articles on Trending Technologies

Technical articles with clear explanations and examples

StrictMath subtractExact() in Java With Examples

Shriansh Kumar
Shriansh Kumar
Updated on 05-May-2023 255 Views

In java, the subtractExact() is a static method of the class StrictMath. It is available in ‘java.lang’ package. In this article, we will discuss StrictMath and some of its inbuilt methods. We will also see the implementation of subtractExact() method and how it is different from other methods of this class. StrictMath Class in Java StrictMath is a final class that extends object class. We can use its methods without creating instance because all the methods of this class are static and we can call a static method without an object. To call a Static Mehtod Class_name.static_method_name To ...

Read More

Java Program for Search an element in a sorted and rotated array

Shriansh Kumar
Shriansh Kumar
Updated on 05-May-2023 547 Views

Suppose you have a sorted array with no duplicate values and from a certain index this array is rotated. You have to search for a particular element in it. If it is available in the array then return the index otherwise return -1. In this article, we will solve the given problem using two approaches Linear search and Binary search. Approach 1: Using Linear Search This approach will search for the given element in sequential manner. Algorithm Step 1 − First, declare and initialize an array named ‘araylist’ and an integer variable named ‘searchElem’ that we are going ...

Read More

StringJoiner Class vs String.join() Method to Join String in Java

Shriansh Kumar
Shriansh Kumar
Updated on 05-May-2023 862 Views

There are numerous ways of joining strings in java. The StringJoiner class and String.join() method are two of them. Both are used to join two or any number of strings but the difference lies in their implementation. In this article, we will try to find the differences that exist in the usage of StringJoiner class and String.join() method. StringJoiner Class It is a class available in java.util package and it is added from JDK 8. We can join multiple strings at a time. Before using, it is necessary to import it into our program using the following command ...

Read More

String Arrays in Java

Shriansh Kumar
Shriansh Kumar
Updated on 05-May-2023 2K+ Views

String and Arrays are two distinct things. Array is a linear data structure that is used to store group of elements with similar datatypes but a string is a class in Java that stores a series of characters. Those characters are actually String-type objects. Since strings are objects we can say that string arrays are group of string-type objects. In this article, we will understand string arrays in java and perform some operations on them. String Arrays The string array is a combination of array and string both. Therefore, it has the properties of both array and string such ...

Read More

How to Deploy a Basic Static HTML Website to Heroku?

Aayush Mohan Sinha
Aayush Mohan Sinha
Updated on 05-May-2023 2K+ Views

Conveying a stationary HTML website to a hosting platform can be an intimidating feat, especially for fledgling web developers. However, the emergence of cloud hosting amenities like Heroku has streamlined and made the process more approachable. Heroku, a cloud-oriented platform-as-a-service (PaaS), provides a straightforward and productive technique for deployment and management of web-based applications. This composition entails a comprehensive walkthrough of the step-by-step method of deploying a fundamental stationary HTML website to Heroku, utilizing the Heroku Command Line Interface (CLI) and Git, while concurrently discussing the various configuration options accessible to developers. By abiding by the instructions outlined in this ...

Read More

How to demonstrate the use of Ajax loading data in DataTables?

Aayush Mohan Sinha
Aayush Mohan Sinha
Updated on 05-May-2023 2K+ Views

In the realm of web development, the ability to efficiently load data using Ajax can be a game-changer for user experience. DataTables, a powerful jQuery plugin for creating dynamic and responsive data tables, offers a straightforward approach to incorporating Ajax loading into data tables. However, some developers may find the process of integrating Ajax loading into their DataTables challenging. In this article, we will explore the step-by-step approach to demonstrating the use of Ajax loading data in DataTables, delving into the underlying concepts and syntax necessary for success. By following this guide and utilizing the various parameters available within DataTables, ...

Read More

Trends in Center State Relations: An Overview

Naresh Soni
Naresh Soni
Updated on 05-May-2023 279 Views

Introduction Right now, we can see the smooth Center & States relations in India. No wonder these relations was not that smooth in earlier days of Independence. There was an entire trend of these relations that took around 70+ years of dedication and hard-work. Understanding the Trends in Center State Relations is important for a polity student to understand present relations of center and states and their reason behind to it. If you are also here to know about the same, then be with us till the end of this article, because we have provided all the related information about ...

Read More

Sarkaria Commission: An Insightful Overview of its Recommendations and Observations

Naresh Soni
Naresh Soni
Updated on 05-May-2023 611 Views

Introduction The term “Sarkaria Commission”, have its own depth and weight in the history of Indian polity with regarding of the center states relations in India. It is a most important topic for any student or Candidate who studying Indian polity. There were many suggestions or recommendations by the Sarkaria commission that was implemented by the Government of India so far. If you are a candidate who is preparing for the government exam in India and also want to increase the deep knowledge about Sarkaria commission and its recommendations, then please read this article entirely for your own benefits. ...

Read More

How to delete text from document using HTML?

Aayush Mohan Sinha
Aayush Mohan Sinha
Updated on 05-May-2023 944 Views

In the domain of web development, the capacity to handle text within a file is an indispensable expertise for designing interactive and captivating user interfaces. HTML, the widely recognized coding language utilized for making web pages, furnishes developers with a variety of mechanisms for removing text from a file. Although this may appear to be a simple task, apprehending the fundamental syntax and aspects implicated is fundamental for producing top-quality web applications. In this composition, we shall scrutinize the incremental process of eliminating text from a document utilizing HTML, contemplating on the diverse approaches and deliberations that developers ought to ...

Read More

Role of the Cabinet and Kitchen Cabinet in the Indian Government: A Comprehensive Guide

Naresh Soni
Naresh Soni
Updated on 05-May-2023 1K+ Views

Introduction We all have heard of cabinet with relate to the the government of India and Indian Parliamentary system. Although, Kitchen Cabinet is not that followed term with Indian Parliamentary system but used many times. We have heard of that power of Indian government resides in their cabinet. But this is not Cabinet all about. Cabinet is vast and gigantic to be understood. That is why in this article, we have simplified the concept and understanding of Cabinet with respect to Indian Parliamentary system. Please be with us till the end of this article, for gaining all the related information ...

Read More
Showing 37161–37170 of 61,297 articles
Advertisements