Posts by Smitha S Maganti

Author Biographical Info: Not available

How to send Email with attachment in Java Eclipse

By Smitha S Maganti

Hello, in this tutorial, you will learn how to send an email with an attachment using Java Eclipse. The easiest way to do this is by converting the Java project to a Maven project .... Read More

How to copy elements from one array to another in Java

By Smitha S Maganti

In this tutorial, you will learn how to copy elements from one array to another. There are four ways to do this. Let us look at each method in the next section. Copying elements fr.... Read More

How to find the last Saturday of the current month in Java

By Smitha S Maganti

In this tutorial, you will learn how to find the last Saturday of the current month. That is, you will find the date on which the last Saturday of the month will fall. You can make.... Read More

How to download a Git repository using Java in Eclipse

By Smitha S Maganti

In this tutorial, you will learn how to download a Git repository using a Java program in Eclipse. The Eclipse version used in this tutorial is Eclipse IDE for Java Developers, 202.... Read More

How to convert string to int in Java

By Smitha S Maganti

Let’s learn how to convert a string to int in Java. The Java Integer class provides two methods to carry out this process. First is the Integer.parseInt() method, and the oth.... Read More

What is a substring in Java?

By Smitha S Maganti

In this tutorial, you will learn what a substring is in Java. A substring is a part or subset of another string. For example, ‘Code’ is a substring of the string ‘.... Read More

Download a file from a URL and store in a specific directory using Java

By Smitha S Maganti

In this tutorial, you learn how to download a file from a URL using the Java IO package. You use the BufferedInputStream class to read the contents of a file, and the BufferedOutpu.... Read More

How to extract dates from a .txt file in Java

By Smitha S Maganti

In this tutorial, we are going to learn how to extract the dates from a text file. Our task is to print all the dates present in a given text file. We are going to use the concept .... Read More

Related Posts