Skip to content
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
Sign In
▲
Similar Topics
Web Technologies
40.3k+ articles
DSA
22.3k+ articles
Python
20.1k+ articles
Java
10.1k+ articles
Java-Functions
4.1k+ articles
Java Programs
2.1k+ articles
Java-lang package
380+ articles
Java 8
100+ articles
Java-Output
54 articles
Output of Java Program
5 articles
Java.lang.Class
64 posts
Popular Articles
Recent Articles
Class getAnnotation() method in Java with Examples
Last Updated: 27 December 2019
The getAnnotation() method of java.lang.Class class is used to get the annotation of the specified annotation type, if such an annotation is
...read more
Java
Java-lang package
Java-Functions
Java.lang.Class
Class getResourceAsStream() method in Java with Examples
Last Updated: 27 December 2019
The getResourceAsStream() method of java.lang.Class class is used to get the resource with the specified resource of this class. The method
...read more
Java
Java-lang package
Java-Functions
Java.lang.Class
Class cast() method in Java with Examples
Last Updated: 27 December 2019
The cast() method of java.lang.Class class is used to cast the specified object to the object of this class. The method returns the object a
...read more
Java
Java-lang package
Java-Functions
Java.lang.Class
Similar Topics
Web Technologies
40.3k+ articles
DSA
22.3k+ articles
Python
20.1k+ articles
Java
10.1k+ articles
Java-Functions
4.1k+ articles
Java Programs
2.1k+ articles
Java-lang package
380+ articles
Java 8
100+ articles
Java-Output
54+ articles
Output of Java Program
5+ articles
Class getConstructor() method in Java with Examples
Last Updated: 16 December 2019
The getConstructor() method of java.lang.Class class is used to get the specified constructor of this class with the specified parameter typ
...read more
Java
Java-lang package
Java-Functions
Java.lang.Class
Class getDeclaredMethod() method in Java with Examples
Last Updated: 16 December 2019
The getDeclaredMethod() method of java.lang.Class class is used to get the specified method of this class with the specified parameter type.
...read more
Java
Java-lang package
Java-Functions
Java.lang.Class
Class getDeclaredConstructor() method in Java with Examples
Last Updated: 16 December 2019
The getDeclaredConstructor() method of java.lang.Class class is used to get the specified constructor of this class with the specified param
...read more
Java
Java-lang package
Java-Functions
Java.lang.Class
Class getMethod() method in Java with Examples
Last Updated: 16 December 2019
The getMethod() method of java.lang.Class class is used to get the specified method of this class with the specified parameter type, which i
...read more
Java
Java-lang package
Java-Functions
Java.lang.Class
Class getDeclaredFields() method in Java with Examples
Last Updated: 25 January 2022
The getDeclaredFields() method of java.lang.Class class is used to get the fields of this class, which are the fields that are private, publ
...read more
Java
Java-lang package
Java-Functions
Java.lang.Class
Class getTypeName() method in Java with Examples
Last Updated: 25 January 2022
The getTypeName() method of java.lang.Class class is used to get the type name of this class, which provides the information about this clas
...read more
Java
Java-lang package
Java-Functions
Java.lang.Class
Class getSimpleName() method in Java with Examples
Last Updated: 25 January 2022
The getSimpleName() method of java.lang.Class class is used to get the simple name of this class, as given in the sourcecode. The method ret
...read more
Java
Java-lang package
Java-Functions
Java.lang.Class
Class getMethods() method in Java with Examples
Last Updated: 25 January 2022
The getMethods() method of java.lang.Class class is used to get the methods of this class, which are the methods that are public and its mem
...read more
Java
Java-lang package
Java-Functions
Java.lang.Class
Class getName() method in Java with Examples
Last Updated: 27 January 2022
The getName() method of java.lang.Class class is used to get the name of this entity. This entity can be a class, an array, an interface, et
...read more
Java
Java-lang package
Java-Functions
Java.lang.Class
Class forName() method in Java with Examples
Last Updated: 01 June 2021
The forName() method of java.lang.Class class is used to get the instance of this Class with the specified class name. This class name is sp
...read more
Java
Java-lang package
Java-Functions
Java.lang.Class
Class isInstance() method in Java with Examples
Last Updated: 27 November 2019
The isInstance() method of java.lang.Class class is used to check if the specified object is compatible to be assigned to the instance of th
...read more
Java
Java-lang package
Java-Functions
Java.lang.Class
Class isAssignableFrom() method in Java with Examples
Last Updated: 27 November 2019
The isAssignableFrom() method of java.lang.Class class is used to check if the specified class's object is compatible to be assigned to the
...read more
Java
Java-lang package
Java-Functions
Java.lang.Class
1
2
3
4
5
>>
Last
1
2
3
4
5
>>
Last
1
2
3
4
>>
Last
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 !