Toggle navigation
Home
Latest pastes
FAQ
Random
BitBin is shutting down!
Register
Login
java sum of two integer
SUBMITTED BY:
GBPATEL
DATE:
June 30, 2016, 7:46 a.m.
FORMAT:
Java
SIZE:
276 Bytes
Raw
Download
Tweet
HITS:
934
Go to comments
Report
java
programing
sum
of
two
integer
value
public
class
ridz
{
int
a
=
2
;
int
b
=
3
;
public
void
sum
()
{
System
.
out
.
print
(
"sum of two num="
+
(
a
+
b
));
}
public
static
void
main
(
String
[]
args
)
{
ridz
object
=
new
ridz
();
object
.
sum
();
}
}
out
put
sum
of
two
num
=
5
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus