I bow to thee, Mother,
richly-watered, richly-fruited,
cool with the winds of the south,
dark with the crops of the harvests,
The Mother!
Her nights rejoicing in the glory of the moonlight,
her lands clothed beautifully with her trees in flowering bloom,
sweet of laughter, sweet of speech,
The Mother, giver of boons, giver of bliss.
Vande Mataram translation
static final keyword in Java
If you make a variable as final, say final int x=2 in a class. Then as many times the object is instantiated for that class, that many times memory space will be allocated for the same in stack.
Now, as per memory management view, if we make it static with final i.e static final x=2 , then only one copy(i.e one address space) as final x=2 will be there.
In this way, we are saving memory space.
why main method is declared static in java?
We declare, main method in java as : public static void main(String args[])
public : means it can be accessible to all other classes.
static : main is the entry point of a class. In java everything thing is written in a class.Now when you run java filename on command prompt, loader will load the class and jvm will search the main method to enter into the class. so making the main() as static, will make jvm access it directly through classname.main()
Now once jvm get the main(), object instantiated there are accessed.
void : main method should return anything.
main : its the method name, the JVM will seek for after the class is loaded on runing command like e.g java classname
String args[] : String array named args used to access the string variables passed on command line. e.g java classname firstname lastname
For further reading:
http://www.dreamincode.net/forums/index.php?s=eac3b49d45a9277f36a31b233588f6a5&showtopic=38921
Youthness of Java
One of my collegemate wish to have more number of visitors on his newly created web site on java.
He loves java a lot, so he blogs on it and now wish to have a website on it.
He is worried about the no. of visitors on his webpage. So asking suggestion for good URL to keep.
Well these days in tech world, who so ever joins a company or as a fresher is dieing to learn or do project in java.
Simple reason, as their friends and colleagues says they are working on java and feel good.
Now this Feel Good term reminds me of BJP government tag line.
So slowly slowly Java has become a Youth`s language.
I thought of going forward with the name of “Youthness of Java” but if you translate it in Hindi, it would be pronounced as “Java Ki Jawani”
Well there is no shame in keeping such name. Apparently, it will attract more no of visitors on your site.
So next the thing will be curiosity of the visitor, why the name as such.
Now here it all depends of the web page creator to sustain the users interest and need on the web page.
You have to be more creative in your way to present java, not in a conventional way.
Creativity here means show them the other side of Java, not the language part only.
Show them how creativly it serves Object Orientaion.
Make use of real life character, movie stars. political leaders, actress from All-Woods.
One more suggestion i have, discuss the problem and issue which a programmer faces while coding using java. As the tutorails on java are more in numbers on the net. But people searches more for the issues they face on net through google. Make use of better and suitable tags out there.
Happy Java.
Palmistry science
Well today about my long time favourite subject
Palmistry
As palmitry science was come to know to the world through Chiero. But the truth is. this science was discovered and developed long time back in India. At the age of Ramayana, it was in well practised by rishi munis(sages and saint). Not only palmistry, even face reading was developed since that time. India wa enriched with all these knowlegde since long.
Cheiro visited india and resided in varanasi and learnt the art. Its all because of him, the art came to known to the world.Big personalities visited Cheiro to known about there future and Cheiro was well and good in practising the same.
Now coming to the Lines in hands.
There are 3 major lines in hand. Life line, Head line and Heart line.
And 6 major mounts in hand. See in the figure below.
Mount are shown in red color and lines in blue color.

Now the effect of each lines and mount on our life.
First with Life line. It begins from the mount of jupiter or below the mount of jupiter.
Life of a person in calculated from the length of the lifeline. One with good experience can calculate life on a scale 7 years of divison.
Some times the life is found to be short, then it doesnot means the life of a person is short. It may change and expand at any time. Also the at times, a line runs parallel to life line that saves person from having short life. That life is called sister line.
Now types of changes in life line.
1> Life line which goes down to the wrist and cover the mount of venus fully, is the best life line showing vitality and longevity in person life.
2> Life line in the end moves towards the mount of moon suggests person life to be settle far from his birth place and his/her life will be keep on travelling.
3> Life line joining fate line meaning person life is blessed by his/her fate. Sometimes those lines move forward to mount of moon cuttint fate line. same in cse of point 2 written above.
4> At times life line end with a fork, that also means person will settle far away from his birth place.
Now if you see break in your life line, it shows illness and physical suffering. If a sister line is at the back of it then the person recovers soon.
Freshers Job links and placement paper links
www.yuvajobs.com/
www.indianfreshers.com/
www.jobsviewer.com/job_seek/jobs_for_freshers.html
www.chetanafresherjobs.com/
www.bixee.com/Freshers/
www.efreshers.com/
www.indianfresher.com/
www.jobblogr.com/
www.freshersworld.com/
www.kochicalling.com/
www.techinterviews.com/
www.geekinterview.com/
www.pdftutorials.com/
Powerpoint Presentation Points
Font and font-size of a Good powerpoint presentation
1> Title of the ppt should have font size of 40, on first slide, and
font should be either Arial or New Times Roman.
2> Heading of slide should have font size of 38.
3> Sub-heading should have font size of 24
4> Sub heading content font size should be of 20.
Its always prefer to have font of Arial or New Times Roman.
Everything in Java is passed “by value”.
Everything in Java is passed “by value”. Everything.
Pass-by-value
- When an argument is passed to a function, the invoked function gets a copy of the original value.
- The local variable inside the method declaration is not connected to the caller’s argument; any changes made to the values of the local variables inside the body of the method will have no effect on the values of the arguments in the method call.
- If the copied value in the local variable happens to be a reference (or “pointer”) to an object, the variable can be used to modify the object to which the reference points.
Some people will say incorrectly that objects are passed “by reference.” In programming language design, the term pass by reference properly means that when an argument is passed to a function, the invoked function gets a reference to the original value, not a copy of its value. If the function modifies its parameter, the value in the calling code will be changed because the argument and parameter use the same slot in memory…. The Java programming language does not pass objects by reference; it passes object references by value. Because two copies of the same reference refer to the same actual object, changes made through one reference variable are visible through the other. There is exactly one parameter passing mode — pass by value — and that helps keep things simple.
Grid Computing
Using the resources of a many separate computers connected by a network (usually the Internet) to solve large-scale computation problems
Grid computing is an emerging computing model that distributes its processing along along parallel resources. Throughput is increased by networking many heterogeneous resources acroos the administrative boundaries to model a a virtual computer architecture.
Grid is a type of parallel and distributed system that enables the sharing, selection, and aggregation of geographically distributed “autonomous”
resources dynamically at runtime depending on their availability, capability, performance, cost, and users’ quality-of-service requirements.
The key distinction between clusters and grids is mainly lie in the way resources are managed. In case of clusters, the resource allocation is
performed by a centralised resource manager and all nodes cooperatively work together as a single unified resource.
In case of Grids, each node has its own resource manager and don’t aim for providing a single system view.
parseInt — Javascript
I was quite comforatble after the development got over. UAT was also done well.
But yesterday a user from Kolkatta raised a bug from the UAT url before it goes for production.
Bug was related to validation problem….. i was quite surprised to see such error.
values are coming correct but on checking the comparision its returning true
case look like this:
val1=2100;
val2=3;
if(val2>val1) // returning true here (how can this be possible???)
{
alert();
}
if the value of val2 is more than 3 and less than 9 …… its throwing the validation error
nothing was getting in to my mind
then i realised that the value i am taking from form is the string value, where as i am comparing with int value.
On searching google i found a URL : http://www.suite101.com/article.cfm/javascript/60295
Mentioned there about : parseInt ( )
“JavaScript provides a very simple function just fit for our intended use. The signature is quite simple:
var myInteger = parseInt (aString); “
And this solved my problem at last.
But not so yet…………… i found something relativly good while exploring the site.
The site contains so many good thing relative to almost all field.All you need to explore it once.