FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Java-Programming/Online_Class/ClassLoaderDemo.java at master · SHembram18/Java-Programming · GitHub
SHembram18
Java-Programming
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
Java-Programming
/
Online_Class
/
ClassLoaderDemo.java
Copy path
More file actions
More file actions
Latest commit
History
History
History
14 lines (12 loc) · 410 Bytes
Breadcrumbs
Java-Programming
/
Online_Class
/
ClassLoaderDemo.java
Copy path
File metadata and controls
14 lines (12 loc) · 410 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//JAVA CODE TO DEMONSTRATE CLASS LOADER SUBSYSTEM
public
class
ClassLoaderDemo
{
public
static
void
main
(
String
[]
args
)
{
//string class is loaded by bootstrap loader,and
//bootstrap loadeder is not java object,hence null
System
.
out
.
println
(
String
.
class
.
getClassLoader
());
//classLoaderDemo class is loaded by Application loader
System
.
out
.
println
(
ClassLoaderDemo
.
class
.
getClassLoader
());
}
}
Back
|
FazBrowse Home
|
New Git URL