FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
learn-java/src/nonAccessModifier/staticKeyword.java at master · muzammyl/learn-java · GitHub
muzammyl
/
learn-java
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
3
Code
Pull requests
0
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
learn-java
/
src
/
nonAccessModifier
/
staticKeyword.java
Copy path
More file actions
More file actions
Latest commit
History
History
History
16 lines (14 loc) · 333 Bytes
Breadcrumbs
learn-java
/
src
/
nonAccessModifier
/
staticKeyword.java
Copy path
File metadata and controls
16 lines (14 loc) · 333 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
15
16
package
src
.
nonAccessModifier
;
class
staticKeyword
{
static
int
a
=
42
;
static
int
b
=
10
;
static
void
callme
() {
System
.
out
.
println
(
"b = "
+
b
);
}
}
class
staticDemo
{
public
static
void
main
(
String
[]
args
) {
staticKeyword
.
callme
();
System
.
out
.
println
(
"a = "
+
staticKeyword
.
a
);
}
}
Back
|
FazBrowse Home
|
New Git URL