C++ Programming

C++ Programming


Serialization and Object Persistence

Posted: 22 May 2013 08:50 AM PDT

Serialization involves saving the current state of an object to a stream, and restoring an equivalent object from that stream. The stream functions as a container for the object. Its contents include a partial representation of the object's internal structure, including variable types, names, and values. The container may be transient (RAM-based) or persistent (disk-based). A transient container

What is Garbage Collection

Posted: 22 May 2013 08:01 AM PDT

The name "garbage collection" implies that objects no longer needed by the program are "garbage" and can be thrown away. A more accurate and up-to-date metaphor might be "memory recycling." When an object is no longer referenced by the program, the heap space it occupies can be recycled so that the space is made available for subsequent new objects. The garbage collector must somehow determine

Explaining data types in Java

Posted: 22 May 2013 07:35 AM PDT

The Java programming language is strongly-typed, which means that all variables must first be declared before they can be used. This involves stating the variable's type and name: int gear = 1; Doing so tells your program that a field named "gear" exists, holds numerical data, and has an initial value of "1". A variable's data type determines the values it may contain, plus the operations that

Elaborating JVM

Posted: 22 May 2013 05:26 AM PDT

Java Virtual Machine : A Java Virtual Machine (JVM) is a set of computer software programs and data structures which use a virtual machine model for the execution of other computer programs and scripts. The model used by a JVM accepts a form of computer intermediate language commonly referred to as Java bytecode. This language conceptually represents the instruction set of a stack-oriented,

Connecting Java and World Wide Web

Posted: 22 May 2013 02:47 AM PDT

Java and the World Wide Web : A significant advance in Web technology was Sun Microsystems' Java platform. It enables Web pages to embed small programs (called applets) directly into the view. These applets run on the end-user's computer, providing a richer user interface than simple Web pages. Java client-side applets never gained the popularity that Sun had hoped for a variety of reasons,


Post a Comment