Want to become a Vibe Coder? Join Vibe Coding Training here
x
C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Calculate Squre Program Using Java
WhatsApp
Senthilvelan Sambamoorthy
Aug 12
2016
592
0
0
squ.rar
// squre program
class
squ
{
void
calc(
int
x)
{
int
y;
y = x*x;
System.out.println(
"Square : "
+y);
}
public
static
void
main(String arg[])
{
squ a =
new
squ();
a.calc(
5
);
}
}
Java
Calculate Squre Program
Up Next
Calculate Squre Program Using Java