Recursion in Java

In programming, recursion initially scares many people. But the fact is that you just need to sit down and dig into it properly, and then solidify what you've learned through practice. You will benefit from this lesson. It defines recursive functions in Java, explains other basic definitions of recursion and, of course, examples of practical implementations.

Groundhog Day is all about... recursion in real life

…Still not sure that you understand recursion well enough? Don't fret too much — nearly every programmer has found himself in this delicate situation. Here's an article that will explain what recursion is all about using real-life examples that you are certain to be familiar with.

undefined
20
Task
Java Core, level 10, lesson 2
Locked
Reading and writing to a file: Human
Implement the logic for file IO for the Human class. The Human class's name field can't be empty. The main method exists just for you and is not involved in testing the solution.
undefined
20
Task
Java Core, level 10, lesson 2
Locked
Reading and writing to a file: CodeGym
Implement the logic for file IO for the CodeGym class. The file your_file_name.tmp can contain several CodeGym objects. The main method exists just for you and is not involved in testing the solution.
undefined
20
Task
Java Core, level 10, lesson 2
Locked
Introducing properties
In the fillInPropertiesMap method, read a file name from the console and populate the properties map with data from the file. You can read about properties here: http://en.wikipedia.org/wiki/.properties Implement the logic for file IO for the properties map.
undefined
12
Task
Java Core, level 10, lesson 2
Locked
Reading and writing static fields to a file
Implement the logic for file IO for the ClassWithStatic class. The load method must initialize the object, including the static fields with data from the file. The main method is not tested.
undefined
12
Task
Java Core, level 10, lesson 2
Locked
Stranger things
Strange errors are occurring while reading/writing Human objects. Figure out what's wrong and fix it.