Core Java

Core Java

What Is a java.lang.OutOfMemoryError?

July 13, 2010
By admin

A java.lang.OutOfMemoryError is a subclass of java.lang.VirtualMachineError that is thrown when the Java Virtual Machine is broken or has run out of resources that are necessary to continue the operation of the Java Virtual Machine. Obviously, memory is the exhausted resource for a java.lang.OutOfMemoryError, which is thrown when the Java Virtual Machine cannot allocate...
Read more »

Tags: , , , , ,
Posted in Core Java, Programmer Interview | No Comments »

Behavioral Patterns : Template Method

April 17, 2010
By admin

Definition Provide an abstract definition for a method or a class and redefine its behavior later or on the fly without changing its structure. Where to use & benefits To make many similar operations template. From many specialized operations to a generalized operation. Refactor common behavior to simplify code. Algorithm related improvement. Need good...
Read more »

Posted in Behavioral Patterns, Core Java, Design Pattern | No Comments »

Java founder James Gosling leaves Oracle

April 12, 2010
By admin

James Gosling, the creator of the Java programming language, has resigned from Oracle, he announced in a blog entry on Friday Gosling resigned on April 2 and has not yet taken a job elsewhere, he reported. “As to why I left, it’s difficult to answer: just about anything I could say that would be...
Read more »

Posted in Core Java | No Comments »

What is final?

April 16, 2009
By admin

A final class can’t be extended ie., final class may not be subclassed. A final method can’t be overridden when its class is inherited. You can’t change value of a final variable (is a constant).
Read more »

Tags: , , , , ,
Posted in Architect Iterview, Core Java, Developer Interview, Programmer Interview | No Comments »

What is JUnit?

April 16, 2009
By admin

JUnit is a simple, open source framework to write and run repeatable tests. It is an instance of the xUnit architecture for unit testing frameworks. JUnit features include: Assertions for testing expected results Test fixtures for sharing common test data Test runners for running tests JUnit was originally written by Erich Gamma and Kent...
Read more »

Tags: , , ,
Posted in Core Java, J2EE, JUnit | No Comments »

Calendar

    September 2010
    M T W T F S S
    « Jul    
     12345
    6789101112
    13141516171819
    20212223242526
    27282930