Skip to content
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

Finished solution #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tobyDevOp
Copy link

Ready for review

I have a solution for this problem. The issue with the structure of this solution is that my URLify() method has to return size for the size to be updated. I believe this is because if you pass an object into the method you can alter the original object but you have to return size to update the size variable. Java rules of pass by reference and pass by value.

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.

1 participant