This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Lesson1neeraj{ | |
//instance method | |
private void sayHello(String name){ | |
System.out.println("Hello "+name); | |
} | |
public static void main(String[] args){ | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Lesson1neeraj.java | |
public class Lesson1neeraj{ | |
//instance method | |
private void sayHello(String name){ | |
System.out.println("Hello "+name); | |
} | |
public static void main(String[] args){ | |
{1,2,3,4,5,6} | |
String[] args = null | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Lesson2{ | |
private static void push(int[] stack,int elem,int top){ | |
stack[top] = elem++; | |
//top = 0 | |
top++; | |
//top = 1 top is just a local variable - | |
//changes made to it are not passed to main function | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir trydiff | |
git init | |
vim -p readme | |
git status | |
//predict the status | |
git diff | |
//predict the diff | |
//if diff is ok : | |
git add | |
git diff head |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test test test |
NewerOlder