Posts by Smitha S Maganti

Author Biographical Info: Not available

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

Convert Date to String in Java

By Smitha S Maganti

In this demo, we will be learning how to convert Date to String using the Java programming language. The conversion of Date to String is called formatting. We make use of the class.... Read More

How to change the format of date from dd/mm/yyyy to mm/dd/yyyy in Java

By Smitha S Maganti

In this demo, we are going to learn how to change the format of date from ‘dd/mm/yyyy’ to ‘mm/dd/yyyy’ using Java programming language. Java program to chan.... Read More

How to calculate velocity using Java

By Smitha S Maganti

In this demo, we are going to learn how to calculate the final velocity of an object or a body in Java. We will be taking time, acceleration, displacement, and initial velocity as .... Read More