View RSS Feed

Recent Blogs Posts

  1. Virtual Memory Cheat Sheet

    by , 10-27-2012 at 04:39 AM
    Brief Description:
    'Virtual' Memory is the mental model, or abstraction, that the programming language provides to the programmer to explain how computer memory is managed while you program is running. It is NOT the same as physical memory.

    Run Time:
    At run time, the operating system handles the translation from 'virtual' memory addresses to physical memory addresses, and the programmer does no need to be aware of this process.

    Static Region:
    This ...

    Updated 10-30-2012 at 04:19 AM by penguinCoder

    Categories
    Cheat Sheet
  2. Static/Non static methods - Example

    by , 06-02-2011 at 07:12 PM (My Java Tips)
    I will present an example to show the difference between static and non-static methods.

    Go through the example below:

    Java Code:
    public abstract class AbstractExample {
    
       public static void foo() {
          System.out.println("Static foo called.");
       }
    
       public void bar() {
          System.out.println("Non-static bar called.");
       }
    }
    
    public class AbstractCaller extends AbstractExample {
    ...
    Categories
    Java SE