Articles on Trending Technologies

Technical articles with clear explanations and examples

Difference Between Earphones and Headphones

Parminder Kaur
Parminder Kaur
Updated on 29-Aug-2024 315 Views

Nowadays, audio devices like earphones and headphones have become an essential part of our lives. These audio devices can be used to listen to music, make calls, or enjoy your favorite podcast etc. So, understanding the differences between earphones and headphones can help you choose the right option that suits your needs. What are Earphones? Earphones are also known as earbuds or in-ear monitors. These are small audio devices designed to fit inside your ear canal. They are lightweight and portable. They often come with smartphones or other electronic devices.  What are Headphones?Headphones are larger audio devices that cover your ...

Read More

How to convert KivyMD to android apk?

A??? R??
A??? R??
Updated on 29-Aug-2024 1K+ Views

Converting a KivyMD App into an AndroidAPK KivyMD is an ultra-popular framework, an extension of another well-known framework called Kivy, that provides lots of tools and widgets to make modern and beautiful UIs for Android, iOS, and Linux. If you are creating an application with KivyMD and want it to be installed on Android devices, then this conversion must be done. This tutorial will help you convert a KivyMD app into an Android APK. Requirements Have the following tools and software ready before you begin. Python: It is written in Python, so you would have to install the same ...

Read More

Java ResultSet isLast() method with example

Vikyath Ram
Vikyath Ram
Updated on 28-Aug-2024 2K+ Views

When we execute certain SQL queries (SELECT query in general) they return tabular data. The java.sql.ResultSet interface represents such tabular data returned by the SQL statements i.e. the ResultSet object holds the tabular data returned by the methods that execute the statements which requires the database (executeQuery() method of the Statement interface in general). The ResultSet object has a cursor/pointer which points to the current row. Initially, this cursor is positioned before the first row. Java ResultSet isLast() Method The isLast() method of the ResultSet interface is used to determine whether the cursor is on the last row of the ...

Read More

How to Create ToDo App using ReactJS?

Vikash Kumar
Vikash Kumar
Updated on 28-Aug-2024 287 Views

Creating a ToDo app is the best way to start learning ReactJS. In this article, we will see how to build a simple ToDo app using React. The project will cover key React concepts like components, state management, props, and event handling. Features of Todo List The ToDo app will allow users to. Add new tasks. Mark tasks as complete. Delete tasks from the list. For better management we will break down the app into small reusable components and manage the state using React's ...

Read More

Check whether the String contains only digit characters in Java

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

Introduction In this article, we'll explore how to check whether a given string contains only digits or a mix of digits and other characters in Java. We'll achieve this by using the String class and its matches() method. Problem Statement Given a string write a Java program to check whether it contains only digit characters. Input 1 4434 Output 1 String contains only digits! Input 2 5demo9 Output 2 String contains digits as well as other characters! Steps to check digit characters in String The following are the steps to check whether the String contains only digit characters in ...

Read More

Java program to calculate distance light travels

karthikeya Boyini
karthikeya Boyini
Updated on 27-Aug-2024 2K+ Views

In this article, we will demonstrate how to calculate the distance light travels in one year using Java. We will use the Demo class and the main method to perform this calculation. Speed of light: 186000Days = 365dist = speed * seconds Problem Statement Write a Java program to calculate the total distance that light travels in a year, given that the speed of light is 186, 000 miles per second. Output Light travels: 5865696000000 miles Steps to calculate distance light travels Following are the steps to calculate the distance light travels − Initialize the Demo class.Define ...

Read More

Java program to split a list into two halves

AmitDiwan
AmitDiwan
Updated on 27-Aug-2024 2K+ Views

In this article, we will understand how to split a list into two halves. A list is an ordered collection that allows us to store and access elements sequentially. It contains index-based methods to insert, update, delete, and search the elements. It can also have duplicate elements. We will be using different approaches to split a list into two halves − Problem Statement Write a Java program to split a list into two halves. As demonstrated below − Input  Input list :[Java, Python, JavaScript, Shell, Scala] Output The first half of the list is: [Java, Python] The second half of ...

Read More

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 2K+ 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 231 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
Showing 31971–31980 of 61,297 articles
Advertisements