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
Web Technologies
37.4K+ articles
DSA
22.8K+ articles
Python
21.3K+ articles
Experiences
16.6K+ articles
Interview Experiences
14.2K+ articles
JavaScript
12.2K+ articles
School Learning
11.5K+ articles
Java
10.8K+ articles
Java-Functions
4.2K+ articles
Java-lang package
417+ articles
java.lang.Package Class
20 posts
Recent Articles
Popular Articles
Package getName() method in Java with Examples
Last Updated: 21 June 2021
The getName() method of java.lang.Package class is used to get the name of this package. The method returns the name of the package as a String.Syntax:public String getNam...
read more
Java
Java-lang package
Java-Functions
java.lang.Package Class
Package getImplementationVendor() method in Java with Examples
Last Updated: 09 September 2021
The getImplementationVendor() method of java.lang.Package class is used to get the vendor of the implementation of this package. The method returns the implementation vend...
read more
Java
Java-lang package
Java-Functions
java.lang.Package Class
Package isSealed(URL) method in Java with Examples
Last Updated: 05 June 2021
The isSealed(URL) method of java.lang.Package class is used to check if this package is sealed or not, with respect to the specified URL. The method returns the result as ...
read more
Java
Java-lang package
Java-Functions
java.lang.Package Class
Package isCompatibleWith() method in Java with Examples
Last Updated: 20 July 2021
The isCompatibleWith() method of java.lang.Package class is used to check if this package's specification version is compatible with the specified version or not. The meth...
read more
Java
Java-lang package
Java-Functions
java.lang.Package Class
Package getPackages() method in Java with Examples
Last Updated: 03 January 2020
The getPackages() method of java.lang.Package class is used to get the Packages defined by the caller's class loader. The method returns the packages as an array of Packag...
read more
Java
Java-lang package
Java-Functions
java.lang.Package Class
Package hashCode() method in Java with Examples
Last Updated: 14 February 2022
The hashCode() method of java.lang.Package class is used to get the hashCode value of this package instance. The method returns the hashCode value as an integer value.Synt...
read more
Java
Java-lang package
Java-Functions
java.lang.Package Class
Package toString() method in Java with Examples
Last Updated: 29 August 2022
The toString() method of java.lang.Package class is used to get the String representation of this package instance. The method returns the String representation as a Strin...
read more
Java
Java-lang package
Java-Functions
java.lang.Package Class
Package isSealed() method in Java with Examples
Last Updated: 23 July 2021
The isSealed() method of java.lang.Package class is used to check if this package is sealed or not. The method returns the result as a boolean value.Syntax:public boolean ...
read more
Java
Java-lang package
Java-Functions
java.lang.Package Class
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 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 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 getDeclaredAnnotations() method in Java with Examples
Last Updated: 03 January 2020
The getDeclaredAnnotations() method of java.lang.Package class is used to get the declared annotations present in this class. The method returns an array of declared annot...
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
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
1
2
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 !