• Menu
  • Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

JavaBeat

Java Tutorial Blog

  • Java
    • Java 7
    • Java 8
    • Java EE
    • Servlets
  • Spring Framework
    • Spring Tutorials
    • Spring 4 Tutorials
    • Spring Boot
  • JSF Tutorials
  • Most Popular
    • Binary Search Tree Traversal
    • Spring Batch Tutorial
    • AngularJS + Spring MVC
    • Spring Data JPA Tutorial
    • Packaging and Deploying Node.js
  • About Us
  • Java
    • Java 7
    • Java 8
    • Java EE
    • Servlets
  • Spring Framework
    • Spring Tutorials
    • Spring 4 Tutorials
    • Spring Boot
  • JSF Tutorials
  • Most Popular
    • Binary Search Tree Traversal
    • Spring Batch Tutorial
    • AngularJS + Spring MVC
    • Spring Data JPA Tutorial
    • Packaging and Deploying Node.js
  • About Us

Talha Malik

What is the Difference Between toString() and valueOf() in Java

July 31, 2023 //  by Talha Malik

The “toString()” method throws “NullPointerException” if passed value is null whereas the “valueOf()” method returns “null” string if the passed value is null.

Category: Java

How to Initialize a List in Java

July 31, 2023 //  by Talha Malik

To initialize a list in Java, apply the “Arrays.asList()” method, the “List.add()” method, the “Collections” class methods, Stream, or the “List.of()” method.

Category: Java

How to Remove Duplicates From an Array in Java

July 31, 2023 //  by Talha Malik

In various data handling scenarios in programming, there arises a need to remove duplicates from the containers i.e., Array. It is done to enhance the code readability and manage the memory effectively. To address this query, Java provides a built in container and other alternative algorithm approaches that assist the developer to a great extent. …

Category: Java

How to Print ArrayList in Java

July 31, 2023 //  by Talha Malik

To print an ArrayList in Java, apply the “for” or “for-Each” loops, the “Iterator” or “ListIterator” interfaces, or the “Stream” approach.

Category: Java

What is the Difference Between “equals” and “contains” in Java?

July 30, 2023 //  by Talha Malik

“equal()” method utilized for comparing two strings. However, the “contains()” method is used to check a word or sequence of characters in the string.

Category: Java

What is a Continuation in Java?

July 30, 2023 //  by Talha Malik

Continuation is the process of saving the current state of the program and using it later. In Java, there are certain techniques to achieve continuation.

Category: Java

What Does != Mean in Java

July 28, 2023 //  by Talha Malik

The “!=” corresponds to the “not equal” operator that returns Boolean outcome “true” if the left operand does not equal the right operand and “false” otherwise.

Category: Java

What is the Difference Between ++i and i++ in Java

July 26, 2023 //  by Talha Malik

The operator “++i” is used to increment the value by 1 and then utilize it whereas the operator “i++” uses the current value, and then increments it by 1.

Category: Java

  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 4
  • Page 5
  • Page 6
  • Page 7
  • Go to Next Page »

Primary Sidebar

Follow Us

  • Facebook
  • Pinterest

FEATURED TUTORIALS

How to Initialize an Array in Java

Introduction to Java Server Faces (JSF)

Introduction to Java 6.0 New Features, Part–1

Java 6.0 Features Part – 2 : Pluggable Annotation Processing API

Introduction to Java Server Faces(JSF) HTML Tags

JavaBeat

Copyright © by JavaBeat · All rights reserved
Privacy Policy | Contact