• 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 Draw a Circle in Java

September 29, 2023 //  by Talha Malik

To create a circle in Java there are various functions available. These are the fillOval() function, the drawRoundRect() function, and the draw() function

Category: Java

How to Calculate the Distance Between Two Points in Java

September 29, 2023 //  by Talha Malik

To calculate the distance between two points in Java, use the “Math.sqrt((a2-a1)*(a2-a1) + (b2-b1)*(b2-b1));” equation/formula.

Category: Java

How to Implement getActiveCount() Method of ThreadPoolExeceutor in Java

September 26, 2023 //  by Talha Malik

In Java, the getActiveCount() method is responsible for providing the number of tasks that are currently/actively running.

Category: Java

How to Implement a Generic Graph in Java

September 26, 2023 //  by Talha Malik

Generic graphs can be implemented with generic classes and HashMaps. They can store data of different types, such as int, string, custom objects, etc.

Category: Java

How to Use Optional.ofNullable() Method in Java

August 31, 2023 //  by Talha Malik

Optional.ofNullable() Method in Java is used for the implementation of both null and not null values. The optional.empty() method appears for the null values

Category: Java

How to Implement a Java Callback Function

August 31, 2023 //  by Talha Malik

To implement a callback function in Java, the approach involves creating a function as a first-class entity, which is then invoked from a second class.

Category: Java

How to Handle Covariant Return Type in Java

August 31, 2023 //  by Talha Malik

The covariant return type in Java deals with non-primitive data types like arrays, lists, and classes. It makes the code look cleaner and more usable.

Category: Java

How to Use the Java Matcher group() Method

August 31, 2023 //  by Talha Malik

The group() method of the Java Matcher class is used to extract the text that matched a regular expression from the string.

Category: Java

  • « Go to Previous Page
  • Page 1
  • Page 2
  • Page 3
  • 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