Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added BCADIVA.html
Empty file.
16 changes: 16 additions & 0 deletions Demo.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
public class Demo
{
public static void main(String args[])
{
int num, sum, dummy;
sum=0;
System.out.println("The arguements passed on command line are ..");
for (num=0; num<args.length; num++)
{
System.out.println("The [" + num + "] element =" + args[num]);
dummy = Integer.parseInt(args[num]);
sum = sum + dummy;
}
System.out.println("Total of numbers = "+ sum);
}
}
Empty file added HelloGit.html.txt
Empty file.
Empty file added byeworld.html.html
Empty file.
1 change: 1 addition & 0 deletions dhirandra.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dhirandra
Empty file added dummyfile.txt
Empty file.
13 changes: 13 additions & 0 deletions hello.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<h1>This is GitDemo</h1>
<h1>This is GitDemo</h1>
<h1>This is GitDemo</h1>
</body>
</html>
Empty file added myfile.txt
Empty file.
13 changes: 13 additions & 0 deletions sum.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
public class Sum {

public static int sum(int n,int m){
return n+m;
}

public static void main(String[] args) {

int ans = sum(5,5);

System.out.println(ans);
}
}