FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
JavaDebuggingExample/src/main/java/org/example/Main.java at main · ReneThu/JavaDebuggingExample · GitHub
ReneThu
JavaDebuggingExample
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
JavaDebuggingExample
/
src
/
main
/
java
/
org
/
example
/
Main.java
Copy path
More file actions
More file actions
Latest commit
History
History
History
17 lines (15 loc) · 401 Bytes
Breadcrumbs
JavaDebuggingExample
/
src
/
main
/
java
/
org
/
example
/
Main.java
Copy path
File metadata and controls
17 lines (15 loc) · 401 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
17
package
org
.
example
;
public
class
Main
{
public
static
void
main
(
String
[]
args
) {
int
number
=
5
;
System
.
out
.
println
(
String
.
format
(
"%s + 2 = %s"
,
number
,
addTwo
(
number
)));
}
public
static
Integer
addTwo
(
int
i
) {
try
{
int
two
=
2
;
return
i
-
two
;
}
catch
(
Exception
e
) {
throw
new
RuntimeException
(
e
);
}
}
}
Back
|
FazBrowse Home
|
New Git URL