Skip to content
geeksforgeeks
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Tutorials
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
  • Practice
    • Build your AI Agent
    • GfG 160
    • Problem of the Day
    • Practice Coding Problems
    • GfG SDE Sheet
  • Contests
    • Accenture Hackathon (Ending Soon!)
    • GfG Weekly [Rated Contest]
    • Job-A-Thon Hiring Challenge
    • All Contests and Events
  • DSA
  • Practice Problems
  • Python
  • C
  • C++
  • Java
  • Courses
  • Machine Learning
  • DevOps
  • Web Development
  • System Design
  • Aptitude
  • Projects
Similar Topics
Java
10.4k+ articles
Java-Functions
4.1k+ articles
java-basics
310+ articles
java-math
130+ articles
java-lang-reflect-package
120+ articles
Java.lang.Class
64 articles
Java-StrictMath
38 articles
Java-Integer
33 articles
Java-Character
26 articles
Java-Method Class
25 articles

Java-lang package

390+ posts
System.out.println in Java
Last Updated: 13 March 2025
Java System.out.println() is used to print an argument that is passed to it. Parts of System.out.println()The statement can be broken into 3...read more
image
Java
java-basics
Java-lang package
Java-IO package
Java StringBuilder Class
Last Updated: 08 April 2025
In Java, the StringBuilder class is a part of the java.lang package that provides a mutable sequence of characters. Unlike String (which is ...read more
image
Java
Java-lang package
Java-StringBuilder
Replace a character at a specific index in a String in Java
Last Updated: 08 January 2024
In Java, here we are given a string, the task is to replace a character at a specific index in this string.Examples of Replacing Characters ...read more
Strings
Java
Java-Strings
Java-lang package
Java-StringBuilder
Java-String-Programs
DSA
Similar Topics
Java
10.4k+ articles
Java-Functions
4.1k+ articles
java-basics
310+ articles
java-math
130+ articles
java-lang-reflect-package
120+ articles
Java.lang.Class
64+ articles
Java-StrictMath
38+ articles
Java-Integer
33+ articles
Java-Character
26+ articles
Java-Method Class
25+ articles
Java Math min() method with Examples
Last Updated: 13 July 2021
The Java.lang.math.min() function is an inbuilt function in java that returns the minimum of two numbers. The arguments are taken in int, do ...read more
Misc
Java
Java-lang package
java-math
Java Math max() method with Examples
Last Updated: 16 April 2018
The Java.lang.math.max() function is an inbuilt function in Java which returns maximum of two numbers. The arguments are taken in int, doubl ...read more
Java
Java-lang package
java-math
Java Math random() Method
Last Updated: 04 January 2025
The java.lang.Math.random() method returns a pseudorandom double type number greater than or equal to 0.0 and less than 1.0. When this metho ...read more
Java
Java-lang package
java-math
Math pow() Method in Java with Example
Last Updated: 28 March 2025
The Math.pow() method in Java is used to calculate a number raised to the power of some other number. It is part of the java.lang.Math class ...read more
Java
Java-lang package
java-math
Java Math round() method with Example
Last Updated: 11 April 2018
The java.lang.Math.round() is a built-in math function which returns the closest long to the argument. The result is rounded to an integer b ...read more
Java
Java-lang package
java-math
Java sqrt() method with Examples
Last Updated: 09 April 2018
The java.lang.Math.sqrt() returns the square root of a value of type double passed to it as argument. If the argument is NaN or negative, th ...read more
Java
Java-lang package
java-math
Java Math abs() method with Examples
Last Updated: 09 November 2021
Absolute value refers to the positive value corresponding to the number passed as in arguments. Now geek you must be wondering what exactly ...read more
Java
Java-lang package
java-math
Java String join() with examples
Last Updated: 08 April 2025
The java.lang.string.join() method concatenates the given elements with the delimiter and returns the concatenated string.Note that if an e ...read more
Java
Java-Strings
Java-lang package
Java-Functions
DSA
Java String substring() Method
Last Updated: 11 April 2025
In Java,the substring() methodofthe String classreturns a substring from the given string. This method is most useful when you deal with tex...read more
image
Java
Java-Strings
Java-lang package
Java-Functions
Java-String-Programs
Java String split() Method
Last Updated: 11 April 2025
The String split() method in Java is used to split a string into an array of substrings based on matches of the given regular expression or ...read more
Java
Java-Strings
Java-lang package
Java-Functions
java-regular-expression
StringBuffer Class in Java
Last Updated: 18 April 2025
The StringBuffer class in Java represents a sequence of characters that can be modified, which means we can change the content of the String ...read more
Java
Java-Strings
Java-lang package
java-StringBuffer
String Class in Java
Last Updated: 01 May 2025
A string is a sequence of characters. In Java, objects of the String class are immutable, which means they cannot be changed once created. I...read more
image
Java
Java-Strings
Java-lang package
1 2 3 4 5 6 7 8 >>
Last
1 2 3 4 5 6 >>
Last
1 2 3 4 >>
Last
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox