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. Java Stack Introduction

    by , 02-19-2012 at 07:11 AM
    A stack is basically a data structure which uses the following:

    • Methods for inserting the data by the help of push operation
    • Methods for removal of data by the help of pop operation.


    Peak method is supported by Stack implementations. It will make the head to be read without removal from Stack. Last in First out policy is used in Stack. This means that data which has been inserted in data structure at last will be made to get removed first.

    Data ...
    Tags: stack Add / Edit Tags
    Categories
    Queue , Stack
  3. Stack traces

    by , 05-24-2011 at 01:28 PM (My Java Tips)
    You must have seen stack traces in console window of your Eclipse. Good this is that Java stack traces in the console appear with hyperlinks. This means you can click these to go to the referred place in the code. This helps in problem identification.

    Here is how is works: place the mouse over a line in a stack trace and the pointer changes to the hand. Pres the mouse button and associated Java source file will be opened and the cursor will be placed at the corresponding line. Pressing ...
    Tags: stack Add / Edit Tags
    Categories
    Eclipse