Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 42620103d8ee8a2d972d3103bad0ab73 > files > 165

waf-1.5.19-1.fc14.noarch.rpm

package com.meow; // obligatory

public class Hello
{

	public static class Foo {

	}

	int m_var = 0;
	public Hello()
	{
		this.m_var = 2;
	}

	class MyHelperClass
	{
		MyHelperClass() { }
		int someHelperMethod(int z, int q) { return 2; }
	}

	public Object makeObj(String name)
	{
		final String objName = "My name is " + name;

		return new Object() {
			public String toString()
			{
				return objName;
			}
		};
	}

	public static void main(String args[])
	{
		System.out.println("Hello, world");
	}
}