Oct 30, 2011

(Godumai)Wheat Halwa

No of Days Required : 2 days
Ingredients Required : 500 gm Wheat; 1 Kg Sugar, 1.5 Kg Ghee.[It will result in 25 pieces of Halwa], few Cardamom[For Flavor]

Preparation Method:
= = = = = = = = = =

  • Dip Wheat in water for five hours. After that, put the wheat in grinder.. Let it grind for 10 mins.. Then take out the wheat and extract only the milky solution from it and preserve it in a vessel.. Repeat this process for another 4 times.
    • After this, finally you will be getting a milky solution from the wheat. Preserve ONLY the milky solution in dry, cool place[Let it be for 48 hrs]
  • Now After 48 hrs of time., take a bowl and add water to it and keep it on the stove. Add sugar to it and stir it well. After sometime, you can see  the color of the mixture would be in light brown color. 
  • At that point of time, now pour the wheat milk into the bowl and keep on stirring it. While you were stirring the mixture from top to bottom , add ghee in parallel to that Halwa mixture .
  • Add few pieces of cardamom to the Halwa mixture, just to add  the flavor
  • After few minutes[Min : 40 - 60 mins], pour the mixture in a tray..
  • Keep the tray in  a dry, cool place.... Then cut the Halwa pieces  according to your need.


Oct 14, 2011

Accessors and Mutators in JAVA

Accessors:
API's or methods which were used to get the current state of an object.

Mutators:
API's or methods which were used to change the state of an object.
Ex: set(int a);

An object has mainly two things state and behaviour.. State denotes the instance variables of a class and Behaviour denotes the methods or API's in class[ which is blueprint of an object] .
class Animal{
private int color;

  public void getColor(){
  return color;
  }
public setColor(int color){
this.color = color;
}
}

In this program, getColor is an Accessor setColor is Mutator

Oct 10, 2011

RPM Differs

Last week i was travelling in a bike with my father riding it, that time a car overtaken us. Suddenly i had a doubt regarding speed, here it goes the conversation.
Me: Dad..
Dad: Yes, Dear
Me: If the car is running at the same speed of a bike, will the two will reach at the same dear
Dad: No, the car will reach first.
Me: How come , both are running at the same speed?
Dad: Even-tough they run at same speed, their RPM Differs..