A woman awakes during the night to find that her husband was not in bed. She goes downstairs to look for him. She finds him sittingat the kitchen table with a cup of coffee in front of him. He appears to be in deep thought, just staring at the wall. She watches as he wipes a tear from his eye and takes a sip of his coffee.
"What's the matter, dear?" she whispers as she steps into the room. "Why are you down here at this time of night?" The husband looks up from his coffee, "Do you remember 20 years ago when we were dating, and you were only 18?" he asks solemnly. "Yes I do" she replies.
The husband pauses; the words were not coming easily. "Do you remember when your father caught us in the garden?" "Yes! I remember" said the wife, lowering herself into a chair beside him. The husband continued. "Do you remember when he showed the shotgun in my face and said, 'Either you marry my daughter, or I'll send you to jail for 20 years?"
"I remember that too" she replied softly. He broke down completely and cried profusely and somehow managed to Utter "I would have been released today!"
Wednesday, February 28, 2007
Next-Generation Web Technologies
The most innovative companies today are taking advantage of next-generation, collaborative Web 2.0 capabilities to reach out to new prospects, enhance the sense of loyalty among existing customers, and run their operations more efficiently. Whether your firm is a new or established startup — or a large enterprise — if you're seeking to go beyond the limits of traditional HTML, you'll want to construct your new dynamic Web capabilities upon a solid platform of systems, enterprise software and services from a proven IT partner you can trust.
Read on to discover how Sun's offerings can help you harness the power of next-generation Web capabilities — according to your individual requirements...
Read on to discover how Sun's offerings can help you harness the power of next-generation Web capabilities — according to your individual requirements...
Solaris 10 Released
The free and open source Solaris Operating System—available on hundreds of x64/x86 platforms and supported for thousands of open source and ISV applications—has the largest installed-base of any other commercial UNIX or Linux distribution on the planet.
For futher information Click Here
ForDownload Click Here
For futher information Click Here
ForDownload Click Here
Tuesday, February 27, 2007
Access Modifiers in Java
Difference between Default and Protected :
Default access modifier is package oriented. For example, Consider Class A has a method or member with default access modifier ,and Class B inherits Class A.Class B can only access the method or member of Class A, if and only if Class B is in the same package as class A.
In case of Protected , it is parent - child oriented. That is , for the above example, Class B can access the protected methods or members of Class A, eventhough Class B belongs to any other package.
In both cases , it is assumed that Class B inherits Class A, and class A is visbile to all classes,i.e, Class A is declared as Public.
And one more thing is, The subclass can see the protected member only through inheritance , and not by creating a instance of the superclass.
The protected member of class A can be accessed by the subclasses of Class B and not by other classes present in the Class B's package by instantiating Class B.
Default access modifier is package oriented. For example, Consider Class A has a method or member with default access modifier ,and Class B inherits Class A.Class B can only access the method or member of Class A, if and only if Class B is in the same package as class A.
In case of Protected , it is parent - child oriented. That is , for the above example, Class B can access the protected methods or members of Class A, eventhough Class B belongs to any other package.
In both cases , it is assumed that Class B inherits Class A, and class A is visbile to all classes,i.e, Class A is declared as Public.
And one more thing is, The subclass can see the protected member only through inheritance , and not by creating a instance of the superclass.
The protected member of class A can be accessed by the subclasses of Class B and not by other classes present in the Class B's package by instantiating Class B.
Procedure
Have you ever written such a wonderful procedure ....
CREATE PROCEDURE MyMarriage
@ BrideGroom Char(NotBad) ,
@ Bride Char(Good)
AS
BEGIN
SELECT Bride FROM Brides
WHERE
FatherInLaw = 'Millionaire' AND
CarCount > 2 AND
HouseStatus ='TwoStoreyed' AND
BrideEduStatus='PG orAbove'
HavingBrothers='NO' AND
HavingSisters ='No' AND
AllowRelocate ='YES' AND
SELECT Gold ,Cash,Car,BankBalan ce FROM FatherInLaw
UPDATE MyBankAccout SET MyBal = MyBal + FatherinLawBal
UPDATE MyLocker SET MyLockerContents = MyLockerContents +
FatherinLawGold
INSERT INTO MyCarShed VALUES ('BMW')
END
GO
CREATE PROCEDURE MyMarriage
@ BrideGroom Char(NotBad) ,
@ Bride Char(Good)
AS
BEGIN
SELECT Bride FROM Brides
WHERE
FatherInLaw = 'Millionaire' AND
CarCount > 2 AND
HouseStatus ='TwoStoreyed' AND
BrideEduStatus='PG orAbove'
HavingBrothers='NO' AND
HavingSisters ='No' AND
AllowRelocate ='YES' AND
SELECT Gold ,Cash,Car,BankBalan ce FROM FatherInLaw
UPDATE MyBankAccout SET MyBal = MyBal + FatherinLawBal
UPDATE MyLocker SET MyLockerContents = MyLockerContents +
FatherinLawGold
INSERT INTO MyCarShed VALUES ('BMW')
END
GO
Never Lie Together
ONE NIGHT 4 MBA STUDENTS WERE BOOZING TILL LATE NIGHT AND
DIDN'T STUDY FOR THE TEST WHICH WAS SCHEDULED FOR THE NEXT
DAY.
IN THE MORNING THEY THOUGHT OF A PLAN. THEY MADE THEMSELVES
LOOK AS DIRTY AND WEIRD AS THEY COULD WITH GREASE AND DIRT.
THEY THEN WENT UP TO THE DEAN AND SAID THAT THEY HAD GONE OUT
TO A WEDDING LAST NIGHT AND ON THEIR RETURN THE TYRE OF THEIR
CAR BURST AND THEY HAD TO PUSH THE CAR ALL THE WAY BACK AND
THAT THEY WERE IN NO CONDITION TO APPEAR FOR THE TEST.
THEN DEAN WAS A JUST PERSON SO HE SAID THAT YOU CAN HAVE THE
RETEST AFTER 3 DAYS.
THEY SAID THEY WILL BE READY BY THAT TIME. ON THE THIRD DAY
THEY APPEARED BEFORE THE DEAN. THE DEAN SAID THAT THIS WAS A
SPECIAL CONDITION TEST.
ALL FOUR WERE REQUIRED TO SIT IN SEPARATE CLASSROOMS FOR THE
TEST. THEY ALL AGREED AS THEY HAD PREPARED WELL IN THE LAST
THREE DAYS. THE TEST CONSISTED OF 2 QUESTIONS WITH TOTAL OF
100 MARKS.
Q.1. WRITE DOWN YOUR NAME -----(2 MARKS)
Q.2. WHICH TYRE BURST -------(98 MARKS )
DIDN'T STUDY FOR THE TEST WHICH WAS SCHEDULED FOR THE NEXT
DAY.
IN THE MORNING THEY THOUGHT OF A PLAN. THEY MADE THEMSELVES
LOOK AS DIRTY AND WEIRD AS THEY COULD WITH GREASE AND DIRT.
THEY THEN WENT UP TO THE DEAN AND SAID THAT THEY HAD GONE OUT
TO A WEDDING LAST NIGHT AND ON THEIR RETURN THE TYRE OF THEIR
CAR BURST AND THEY HAD TO PUSH THE CAR ALL THE WAY BACK AND
THAT THEY WERE IN NO CONDITION TO APPEAR FOR THE TEST.
THEN DEAN WAS A JUST PERSON SO HE SAID THAT YOU CAN HAVE THE
RETEST AFTER 3 DAYS.
THEY SAID THEY WILL BE READY BY THAT TIME. ON THE THIRD DAY
THEY APPEARED BEFORE THE DEAN. THE DEAN SAID THAT THIS WAS A
SPECIAL CONDITION TEST.
ALL FOUR WERE REQUIRED TO SIT IN SEPARATE CLASSROOMS FOR THE
TEST. THEY ALL AGREED AS THEY HAD PREPARED WELL IN THE LAST
THREE DAYS. THE TEST CONSISTED OF 2 QUESTIONS WITH TOTAL OF
100 MARKS.
Q.1. WRITE DOWN YOUR NAME -----(2 MARKS)
Q.2. WHICH TYRE BURST -------(98 MARKS )
Monday, February 26, 2007
Sardar joke
A letter from a Sardar's mother to her son....
My dear Lotta,
I am in a well here and hoping you are also in a well there. I'm writingthis letter slowly, because I know you cannot read fast. We don't livewhere we did when you left home. Your dad read in the newspaper thatmost accidents happen within 20 miles from home, so we moved 25 milesaway and are safe now.
I won't be able to send the address as the last Sardar who stayedhere took the house numbers with him for his new house so he would nothave to change his address. Hopefully by next week we will be able totake our earlier address plate here, and that our address will remainsame too.
This place is really nice. It even has a washing machine, situated rightabove the toilet I'm not sure it works too well. Last week I put in 3shirts, pulled the chain and haven't seen them since.
The weather here isn't too bad. It rained only twice last week. Thefirst time it rained for 3 days and second time for 4 days.
The coat you wanted me to send you, your Aunt said it would be alittle too heavy to send in the mail with all the metal buttons, so wecut them off and put them in the pocket.
Your father has another job. He has 500 men under him. He is cutting thegrass at the cemetery.
Your sister had a baby this morning. I haven't found out whether it is agirl or a boy, so I don't know whether you are an Aunt or Uncle.
Your uncle, Beppo Singh fell in! the nearby well. Some men tried to pullhim out, but he fought them off bravely and drowned. We cremated him andhe burned for three days.
Your best friend, Genda Singh, is no more. He died trying to fulfill hisfather's last wishes. His father had wished to be buried in the seaafter he died. And your friend died while in the process of digging agrave for his father.
There isn't much more news this time. Nothing much has happened.
Love Mom.
P.S : Lotta, I was going to send you some money but by the time Irealized, I had already posted off this letter.
My dear Lotta,
I am in a well here and hoping you are also in a well there. I'm writingthis letter slowly, because I know you cannot read fast. We don't livewhere we did when you left home. Your dad read in the newspaper thatmost accidents happen within 20 miles from home, so we moved 25 milesaway and are safe now.
I won't be able to send the address as the last Sardar who stayedhere took the house numbers with him for his new house so he would nothave to change his address. Hopefully by next week we will be able totake our earlier address plate here, and that our address will remainsame too.
This place is really nice. It even has a washing machine, situated rightabove the toilet I'm not sure it works too well. Last week I put in 3shirts, pulled the chain and haven't seen them since.
The weather here isn't too bad. It rained only twice last week. Thefirst time it rained for 3 days and second time for 4 days.
The coat you wanted me to send you, your Aunt said it would be alittle too heavy to send in the mail with all the metal buttons, so wecut them off and put them in the pocket.
Your father has another job. He has 500 men under him. He is cutting thegrass at the cemetery.
Your sister had a baby this morning. I haven't found out whether it is agirl or a boy, so I don't know whether you are an Aunt or Uncle.
Your uncle, Beppo Singh fell in! the nearby well. Some men tried to pullhim out, but he fought them off bravely and drowned. We cremated him andhe burned for three days.
Your best friend, Genda Singh, is no more. He died trying to fulfill hisfather's last wishes. His father had wished to be buried in the seaafter he died. And your friend died while in the process of digging agrave for his father.
There isn't much more news this time. Nothing much has happened.
Love Mom.
P.S : Lotta, I was going to send you some money but by the time Irealized, I had already posted off this letter.
Subscribe to:
Posts (Atom)