• Home
  • About Us
  • Privacy Policy
  • Contact Us

BenchResources.Net

Java tutorial for beginners

  • Home
  • Java
    • Java 1.8 Features
    • Java 8 Date/Time
    • JSON/YAML/XML/JAXB
    • Java Basics
    • OOPS
    • String Handling
    • Exception Handling
    • Generics
    • Serialization
    • Collection
    • Concurrent Collection
    • JDBC
  • Spring
    • Spring Core
    • Spring AOP
    • Spring MVC
    • Spring JDBC
    • Spring ORM
    • Spring Security
  • Web Services
    • Apache CXF – REST
    • JBoss RestEasy
    • Jersey 2.x
    • Spring Restful
    • Apache Axis2 RI
    • Apache CXF – SOAP
    • Metro JAX-WS – SOAP
  • Tools
    • Apache Maven
    • Eclipse IDE
    • Eclipse + Maven
    • FileZilla FTP
  • Oracle SOA
    • Oracle SOA 12c
    • Interview Question on SOA
  • Cloud
    • AWS
    • Microsoft Azure
  • Android
  • Interview Q
  • Jobs

Tag: long

No Image

Java 8 – How to convert Instant to number of Milliseconds and vice-versa ?

August 20, 2022 SJ 0

In this article, we will learn how to convert Instant to number of Milliseconds and vice-versa using toEpochMilli() and ofEpochMilli() methods of Instant respectively provided in Java 1.8 version Conversion Read More

No Image

Java 8 – How to convert OffsetDateTime to number of Seconds ?

August 18, 2022 SJ 0

In this article, we will learn how to convert OffsetDateTime to number of Seconds using toEpochSecond() method of OffsetDateTime provided in Java 1.8 version Convert OffsetDateTime to number of Seconds Read More

No Image

Java 8 – How to convert ZonedDateTime in different Format Style ?

August 13, 2022 SJ 0

In this article, we will learn how to format ZonedDateTime in different Format Style provided in Java 1.8 version 1. Format ZonedDateTime in different Format Style : FormatStyle Read More

No Image

Java 8 – How to form ZonedDateTime passing Date, Time and Zone fields ?

August 12, 2022 SJ 0

In this article, we will learn how to form ZonedDateTime passing Date & Time & Zone fields using ZonedDateTime.of() method provided in Java 1.8 version Read More

No Image

Java 8 – How to convert LocalDateTime in different Format Style ?

August 9, 2022 SJ 0

In this article, we will learn how to format LocalDateTime in different Format Style provided in Java 1.8 version 1. Format LocalDateTime in different Format Style : FormatStyle Read More

No Image

Java 8 – How to form LocalDateTime passing Second/Nano and ZoneOffset ?

August 8, 2022 SJ 0

In this article, we will learn how to form LocalDateTime passing number of second/nanosecond & ZoneOffset using LocalDateTime.ofEpochSecond() method provided in Java 1.8 version Form Read More

No Image

Java 8 – How to form LocalDateTime passing Instant and ZoneId ?

August 8, 2022 SJ 0

In this article, we will learn how to form LocalDateTime passing Instant & ZoneId using LocalDateTime.ofInstant() method provided in Java 1.8 version Form LocalDateTime passing Read More

No Image

Java 8 – How to form LocalDateTime passing LocalDate and LocalTime ?

August 8, 2022 SJ 0

In this article, we will learn how to form LocalDateTime passing LocalDate & LocalTime using LocalDateTime.of() method provided in Java 1.8 version Form LocalDateTime passing Read More

No Image

Java 8 – How to form LocalDateTime passing Date and Time fields ?

August 8, 2022 SJ 0

In this article, we will learn how to form LocalDateTime passing Date & Time fields using different methods provided in Java 1.8 version Form LocalDateTime Read More

No Image

Java 8 – How to convert LocalTime to Nanoseconds and vice-versa ?

August 6, 2022 SJ 0

In this article, we will learn how to convert LocalTime to number of Nanoseconds and vice-versa using toNanoOfDay() and ofNanoOfDay() methods of LocalTime respectively provided in Java 1.8 version Conversion of Read More

No Image

Java 8 – How to convert LocalTime to Seconds and vice-versa ?

August 6, 2022 SJ 0

In this article, we will learn how to convert LocalTime to number of Seconds and vice-versa using toSecondOfDay() and ofSecondOfDay() methods of LocalTime respectively provided in Java 1.8 version Conversion of Read More

No Image

Java 8 – How to convert LocalTime in different Format Style ?

August 5, 2022 SJ 0

In this article, we will learn how to format LocalTime in different Format Style provided in Java 1.8 version 1. Format LocalTime in different Format Style : FormatStyle Read More

No Image

Java 8 – How to convert LocalDate in different Format Style ?

July 30, 2022 SJ 0

In this article, we will learn how to format LocalDate in different Format Style provided in Java 1.8 version 1. Format LocalDate in different Format Style : FormatStyle Read More

No Image

Java 8 – How to convert primitive data-types into String ?

July 18, 2022 SJ 0

In this article, we will understand with a Java program on how to convert primitive data-types into String using Java 1.8 version Already in one Read More

No Image

Java 8 – How to get length of a String ?

July 18, 2022 SJ 0

In this article, we will understand with a Java program on how to get length of a String in Java 1.8 version Already in one Read More

No Image

Java 8 – Stream mapToDouble() method

September 19, 2021 SJ 0

In this article, we will discuss Stream’s mapToDouble() method in detail with examples and explanation 1. Stream mapToDouble() method : This Stream method is an Read More

No Image

Java – long[] Arrays sorting with example

June 22, 2017 SJ 0

In this article, we will discuss how to sort long[] array with example 1. long: Size is 8 bytes That’s is 64 bits Its range Read More

No Image

Java – Long to String conversion in 6 ways

May 31, 2017 SJ 0

In this article, we will discuss various ways to convert Long to String in Java Q) What is the need of converting primitive long or Long Read More

No Image

Java – String to long conversion in 3 ways

May 31, 2017 SJ 0

In this article, we will discuss various ways to convert String to Long in Java Q) What is the need of converting String to primitive long Read More

Search tutorials

Subscribe via Email

Join 225 other subscribers




Proudly powered by Tuto WordPress theme from MH Themes