(1) Using a while loop, write code that is equivalent to
for(int i = 0; i < 100; i++)
	System.out.println(i);




(2) Is it usually better to put all of your code in one method, or break it up into smaller methods?








(3) Would it be better for developer tools to gracefully handle any bugs in your code, or expose them by crashing?








(4) Please modularize this code by making some helper-methods. Put 3 class in each helper method.
class SomeClass
{
	int x;

	static void foo(int count)
	{
		// Prepare
		do_some_preliminary_stuff();
		do_some_more_needed_things(x);
		do_something_else();

		// Process it all
		for(int i = 0; i < count; i++)
		{
			move_a_thing_to_the_place();
			make_the_place_become_the_thing(i);
			rename_the_thing_to_place(x);
		}

		// Finish up
		finalize_the_stuff(x);
		do_some_final_polishing();
		declare_it_all_completed();
	}
}