Skip to content

Saranya SWOT

oops

OOPS Concepts in real life

Oops concepts in real life

Objects:

It is considered to be an instance of class.It contains real values instead of variables.In real life we can consider an mobile company which manufacture mulitple models as instance to mobile.so here mobile models where each one has its unique characteristics acts as a object.Read More »OOPS Concepts in real life

java-tutorial

Serialization in java

Serialization in java provides a thing known as  object serialization.It means that an object can be represented as a sequence of bytes which includes object data as well as information about the object type and information of data stored in object.Classes ObjectInputStream and ObjectOutputStream are high level streams  which is defined for serializing and deserializing an object.Read More »Serialization in java

Yii

Redirect to History – Yii

Yii is an open source, object-oriented, component-based MVC PHP web application framework. Yii is pronounced as “Yee” and in Chinese it means “simple and evolutionary”

Yii is the one of major MVC framework of PHP. We need to redirect the previous / history page for some circumstances in every development.

Here we show how to achieve that;

Read More »Redirect to History – Yii

c++

malloc vs calloc

malloc vs calloc differences provided here:

When calloc is used to allocate a block of memory, the allocated region is initialized to zeroes. In contrast, malloc does not touch the contents of the allocated block of memory, which means it contains garbage values. This could potentially be a security risk because the contents of memory are unpredictable and programming errors may result in a leak of these contents.Read More »malloc vs calloc