Skip to content

finished Derusting#1

Open
ryanrmills wants to merge 7 commits into
grc-cohort-22:mainfrom
ryanrmills:main
Open

finished Derusting#1
ryanrmills wants to merge 7 commits into
grc-cohort-22:mainfrom
ryanrmills:main

Conversation

@ryanrmills

Copy link
Copy Markdown

No description provided.

@auberonedu auberonedu left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice job!

Comment thread src/MapPractice.java
Comment on lines +68 to +70
for (Map.Entry<String, Integer> keySet : stringIntMap.entrySet()){
System.out.println(keySet);
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This works! You can also make it a bit more concise by using var to infer the complicated entry type:

for (var keySet : stringIntMap.entrySet()){

Comment thread src/StringPractice.java
Comment on lines +34 to +38
String name = "Rumplestiltskin";

System.out.println(name.length());

name += " sucks";

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Damn, roasted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants