Java: calling methods from constructors

There’s a Java program:

public class Constructors {
    private static class Parent {
        public Parent() {
            test();
        }

        public void test() {
            System.out.println("Hello from Parent");
        }
    }

    private static class Child extends Parent {
        private String name;

        public Child() {
            name = "Hi";
        }

        @Override
        public void test() {
            System.out.println("Hello from child " + name);
        }
    }

    public static void main(String[] args) {
        new Child();
    }
}

What does it print?
The answer is obvious if you compile and run it? Can you answer it without running?

Activate Windows 7

По-русски

After I had changed the motherboard in my home computer, almost all devices were reinstalled. Naturally, Windows wanted to activate once again:
2 days until automatic activation

A balloon notification provided more details why activation was required again:
Balloon notification: Activate Windows now

During Windows setup, activation was performed automatically and I was not afraid of this procedure.

Read the rest of this entry »

8 GB

Now I have 8 GB of RAM in my home computer.

Motherboard replacement and increase of RAM have not affected Windows Experience Index:
Windows Experience Index: 8 GB

Windows Experience Index is still 5.9 although memory has become faster and its amount has increased. Actually none of the values has changed. The base score is 5.3, by performance of 3D graphics.

Nevertheless the system has become faster because of RAM increase. There are about 5 GB of free unused memory right after Windows boots. As the system is used, amount of memory used by cache rises up to 5.5 GB, and amount of free memory drops to 178 MB:
Total: 8191 MB, Cached: 5641 MB, Available: 5764 MB, Free: 178 MB

It is clear what Total and Cached values mean. The meaning of Available and Free is not as clear. I am confused by the fact that the sum of Cached and Available — 11,405 MB — is greater than the amount of memory installed. The article See details about your computer’s performance using Task Manager tries to explain the values.

  1. Total is the amount of RAM installed on your computer, listed in megabytes (MB).
  2. Cached refers to the amount of physical memory used recently for system resources.
  3. Available is the amount of memory that’s immediately available for use by processes, drivers, or the operating system.
  4. Free is the amount of memory that is currently unused or doesn’t contain useful information.

In my opinion, the article does not clarify the values enough. And there is no Free value in Windows Vista, only Available exists.

Does anyone know how to interpret these values?