-
Notifications
You must be signed in to change notification settings - Fork 94
Markdown file added #50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just Some small tweaks and your PR is ready for merge.
The content looks really great!
lessons/arraylist.md
Outdated
## ArrayList in java | ||
<hr> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
## ArrayList in java | |
<hr> |
remove these two lines, lesson heading will be there on the site by default
lessons/arraylist.md
Outdated
- Change elements | ||
- Remove elements | ||
|
||
## Add Elements : |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
## Add Elements : | |
### Add Elements: |
make the heading h3
lessons/arraylist.md
Outdated
} | ||
} | ||
``` | ||
## Output |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
## Output | |
### Output: |
lessons/arraylist.md
Outdated
} | ||
|
||
``` | ||
## Output |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
## Output | |
### Output: |
lessons/arraylist.md
Outdated
} | ||
} | ||
``` | ||
## Output |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
## Output | |
### Output: |
lessons/arraylist.md
Outdated
} | ||
} | ||
``` | ||
## Output |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
## Output | |
### Output: |
ArrayList<String> languages = new ArrayList<>(); | ||
|
||
// add() method without the index parameter | ||
playerName.add("Virat"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
playerName is not defined??
lessons/arraylist.md
Outdated
|
||
class Main { | ||
public static void main(String[] args) { | ||
ArrayList<String> animals = new ArrayList<>(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
define playerName instead of animals
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please do these changes
Added the changes
Check it again. |
Thank you for your work!🎉🎉🎈 |
Fixes #7
Short description of what this resolves:
What Changes proposed in this pull request:
Checklist
Notes:
This is a documentation of DSA in Java