Courses
Tutorials
Practice
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Java
10.5K+ articles
Java-Functions
4.1K+ articles
java-basics
320+ articles
java-math
147+ articles
java-lang-reflect-package
138+ articles
Java.lang.Class
64+ articles
Java-StrictMath
38+ articles
Java-Integer
33+ articles
Java-Character
28+ articles
Java-Method Class
25+ articles
Java-lang package
403+ posts
Recent Articles
Popular Articles
Java.lang package in Java
Last Updated: 12 June 2024
Java.lang package in JavaProvides classes that are fundamental to the design of the Java programming language. The most important classes are Object, which is the root of ...
read more
Java
Java-lang package
Java-Packages
java.lang.MethodType Class in Java
Last Updated: 08 July 2021
MethodType is a Class that belongs to java.lang package. This class consists of various types of methods that help in most of cases to find the method type based on the in...
read more
Java
Java-lang package
Picked
Java-Classes
java.lang.management.ThreadInfo Class in Java
Last Updated: 20 July 2022
java.lang.management.ThreadInfo class contains methods to get information about a thread. This information includes:Thread IDThread NameState of the ThreadStack trace of t...
read more
Java
Java-lang package
Picked
java.lang.instrument.ClassDefinition Class in Java
Last Updated: 29 March 2021
This class is used to bind together the supplied class and class file bytes in a single ClassDefinition object. These class provide methods to extract information about th...
read more
Java
Java-lang package
Picked
Java.lang.System.currentTimeMillis() Method with Examples
Last Updated: 22 June 2022
Before java 8 the compiler used to take it from the java.util package. But later since the use of date and time became important in every software and android application,...
read more
Java
Java-lang package
Java-Functions
Java Programs
java.lang.management.ManagementPermission Class in Java
Last Updated: 28 March 2021
java.lang.ManagementPermission Class contains abstract methods to determine access to a system resource. Every object has some name. Most permission object also has some "...
read more
Java
Java-lang package
Picked
java.lang.ref.SoftReference Class in Java
Last Updated: 10 December 2021
When we create an object in Java, an object isn't soft by default. To create a Soft Reference Object, we must explicitly specify this to the JVM. In Soft reference, even i...
read more
Java
Java-lang package
Picked
How to Fix java.lang.ClassCastException in TreeSet By Using Custom Comparator in Java?
Last Updated: 07 January 2021
This error is thrown by TreeSet because TreeSet is used to store elements in sorted order and if the specified element cannot be compared with the elements currently in th...
read more
Java
Technical Scripter
Java-lang package
Java Programs
Picked
Java-Comparator
Technical Scripter 2020
Throwable Class in Java with Examples
Last Updated: 10 January 2025
Classes and Objects are basic concepts of Object-Oriented Programming which revolve around real-life entities. A class is a user-defined blueprint or prototype from which ...
read more
Java
Java-lang package
java-Throwable
Java-Classes
Package getAnnotation() method in Java with Examples
Last Updated: 03 January 2020
The getAnnotation() method of java.lang.Package class is used to get the annotation of the specified annotation type, if such an annotation is present in this Package. The...
read more
Java
Java-lang package
Java-Functions
java.lang.Package Class
Package isAnnotationPresent() method in Java with Examples
Last Updated: 23 August 2021
The isAnnotationPresent() method of java.lang.Package class is used to check if an annotation of the specified annotation type is present in this class. The method returns...
read more
Java
Java-lang package
Java-Functions
java.lang.Package Class
Package getDeclaredAnnotation() method in Java with Examples
Last Updated: 03 January 2020
The getDeclaredAnnotation() method of java.lang.Package class is used to get the declared annotation of the specified declared annotation type, if such an declared annotat...
read more
Java
Java-lang package
Java-Functions
java.lang.Package Class
Package getAnnotations() method in Java with Examples
Last Updated: 03 January 2020
The getAnnotations() method of java.lang.Package class is used to get the annotations present in this class. The method returns an array of annotations present. Syntax:pub...
read more
Java
Java-lang package
Java-Functions
java.lang.Package Class
Package getAnnotationsByType() method in Java with Examples
Last Updated: 03 January 2020
The getAnnotationsByType() method of java.lang.Package class is used to get the annotations of the specified annotation type present in this class. The method returns an a...
read more
Java
Java-lang package
Java-Functions
java.lang.Package Class
Package getDeclaredAnnotationsByType() method in Java with Examples
Last Updated: 03 January 2020
The getDeclaredAnnotationsByType() method of java.lang.Package class is used to get the declared annotations of the specified declared annotation type present in this clas...
read more
Java
Java-lang package
Java-Functions
java.lang.Package Class
1
2
3
4
...
27
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
Got It !