• 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

How to Check if an Array Contains a Value in Java?

November 30, 2023 //  by Talha Malik

To check if an array contains a value in Java, use the “equals()” method, the “List.contains()” method, “Stream.anyMatch()” method, or “binarySearch()” method.

Category: Java

How to Calculate Exponents in Java

November 30, 2023 //  by Talha Malik

The exponents in Java can be calculated via the “Math.pow()” method, the “while” loop, the “for” loop, or via custom logic.

Category: Java

How to Add an Element to an Array in Java

November 30, 2023 //  by Talha Malik

In Java, an element can be added to an array by creating a new array, using “ArrayList” or via the “System.arrayCopy()” method.

Category: Java

How to Use Implement Keyword in Java

October 31, 2023 //  by Talha Malik

In Java programming language, the implements keyword is utilized to indicate that a class is implementing an interface.

Category: Java

How to Use var Keyword in Java

October 31, 2023 //  by Talha Malik

The var keyword in Java is a way to declare different data types like strings, integers, etc. in Java without explicitly defining these data types

Category: Java

How to Use String matches() Method in Java

October 31, 2023 //  by Talha Malik

The matches() method of string in Java matches the regex with the specified string. It returns the output in a boolean type as true or false

Category: Java

How to Split a String in Java

October 31, 2023 //  by Talha Malik

To split a string in Java different methods are utilized including the split() method, the methods of the split Tokenizer class, and the Pattern class

Category: Java

How to Use String.indexOf() Method in Java?

October 31, 2023 //  by Talha Malik

The Java string indexOf() method returns the index of the character or a substring. There are four variants and multiple applications of this method

Category: Java

  • « Go to Previous Page
  • Go to page 1
  • Go to page 2
  • Go to page 3
  • Go to page 4
  • Go to page 5
  • Go to page 6
  • Interim pages omitted …
  • Go to page 25
  • Go to Next Page »

Primary Sidebar

Follow Us

  • Facebook
  • Pinterest

FEATURED TUTORIALS

How to Use Math.min() Method in Java?

What is new in Java 6.0 Collections API?

The Java 6.0 Compiler API

Introductiion to Jakarta Struts

What’s new in Struts 2.0? – Struts 2.0 Framework

JavaBeat

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