Su Swagatam

The Rose flower is for someone special
Please don't touch it.



If u want
S----->Smiling
M----> Magnificient
A---->Awesome
R----> Refreshing
T---->Technical

STUFF

Then U R AT THE RIGHT PLACE


Tuesday, March 8, 2011

Teqnix 2011 Java Paper

The Cradle of Bytes
JAVA Objective Paper
Participant Name:-
College:-
Mobile No:-

1.  public Object m()
{ Object o = new Float(3.14F);
Object [] oa = new Object[l];
oa[0] = o; /* Line 5 */
o = null; /* Line 6 */
oa[0] = null; /* Line 7 */
return o; /* Line 8 */
}
When is the Float object, created in line 3, eligible for garbage collection?
A.
just after line 5
B.
just after line 6
C.
just after line 7
D.
just after line 8

2.  What will be the output of the program?

public class TestDogs
{
public static void main(String [] args)
{
Dog [][] theDogs = new Dog[3][];
System.out.println(theDogs[2][0].toString());
}
}
class Dog { }
A.
Null
B.
theDogs
C.
Compilation fails
D.
An exception is thrown at runtime

3.  What will be the output of the program ?
public class Test
{
public static void main(String [] args)
{
signed int x = 10;
for (int y=0; y<5; y++, x--)
System.out.print(x + ", ");
}
}
A.
10, 9, 8, 7, 6,
B.
9, 8, 7, 6, 5,
C.
Compilation fails.
D.
An exception is thrown at runtime.

4.  Which one of the following will declare an array and initialize it with five numbers?
A.
Array a = new Array(5);
B.
int [] a = {23,22,21,20,19};
C.
int a [] = new int(5);
D.
int [5] array;

5.  Which three are valid declarations of a float?
1.float f1 = -343;
2.float f2 = 3.14;
3.float f3 = 0x12345;
4.float f4 = 42e7;
5.float f5 = 2001.0D;
6.float f6 = 2.81F;
A.
1, 2, 4
B.
2, 3, 5
C.
1, 3, 6
D.
2, 4, 6

6.  What will be the output of the program?
int i = l, j = -1;
switch (i)
{
case 0, 1: j = 1; /* Line 4 */
case 2: j = 2;
default: j = 0;
}
System.out.println("j = " + j);
A.
j = -1
B.
j = 0
C.
j = 1
D.
Compilation fails.

7.  What will be the output of the program?
int i = 1, j = 10;
do
{
if(i > j)
{
break;
}
j--;
} while (++i < 5);
System.out.println("i = " + i + " and j = " + j);
A.
i = 6 and j = 5
B.
i = 5 and j = 5
C.
i = 6 and j = 4
D.
i = 5 and j = 6

8.  What will be the output of the program?
int x = 1, y = 6;
while (y--)
{
x++;
}
System.out.println("x = " + x +" y = " + y);
A.
x = 6 y = 0
B.
x = 7 y = 0
C.
x = 6 y = -1
D.
Compilation fails.

9.  What will be the output of the program?
int I = 0;
outer:
while (true)
{
I++;
inner:
for (int j = 0; j < 10; j++)
{
I += j;
if (j == 3)
continue inner;
break outer;
}
continue outer;
}
System.out.println(I);
A.
1
B.
2
C.
3
D.
4

10.  What will be the output of the program?
int I = 0;
label:
if (I < 2) {
System.out.print("I is " + I);
I++;
continue label;
}
A.
I is 0
B.
I is 0 I is 1
C.
Compilation fails.
D.
None of the above

11.  class Foo
{
class Bar{ }
}
class Test
{
public static void main (String [] args)
{
Foo f = new Foo();
/* Line 10: Missing statement ? */
}
}
which statement, inserted at line 10, creates an instance of Bar?
A.
Foo.Bar b = new Foo.Bar();
B.
Foo.Bar b = f.new Bar();
C.
Bar b = new f.Bar();
D.
Bar b = f.new Bar();

12  What will be the output of the program?
public class Test
{
public static void main(String[] args)
{
int x = 0;
assert (x > 0) ? "assertion failed" : "assertion passed" ;
System.out.println("finished");
}
}
A.
finished
B.
Compiliation fails.
C.
An AssertionError is thrown and finished is output.
D.
An AssertionError is thrown with the message "assertion failed."

13.  public class Test { }
What is the prototype of the default constructor?
A.
Test( )
B.
Test(void)
C.
public Test( )
D.
public Test(void)


14.What will be the output of the program?
try
{
int x = 0;
int y = 5 / x;
}
catch (Exception e)
{
System.out.println("Exception");
}
catch (ArithmeticException ae)
{
System.out.println(" Arithmetic Exception");
}
System.out.println("finished");
A.
Finished
B.
Exception
C.
Compilation fails.
D.
Arithmetic Exception

15.  Which class or interface defines the wait(), notify(),and notifyAll() methods?
A.
Object
B.
Thread
C.
Runnable
D.
Class

16.  public class MyRunnable implements Runnable
{
public void run()
{
// some code here
}
}
which of these will create and start this thread?
A.
new Runnable(MyRunnable).start();
B.
new Thread(MyRunnable).run();
C.
new Thread(new MyRunnable()).start();
D.
new MyRunnable().start();

17.  What will be the output of the program?
class MyThread extends Thread
{
public static void main(String [] args)
{
MyThread t = new MyThread();
t.start();
System.out.print("one. ");
t.start();
System.out.print("two. ");
}
public void run()
{
System.out.print("Thread ");
}
}
A.
Compilation fails
B.
An exception occurs at runtime.
C.
It prints "Thread one. Thread two."
D.
The output cannot be determined.

18.  What will be the output of the program?
class MyThread extends Thread
{
public static void main(String [] args)
{
MyThread t = new MyThread();
Thread x = new Thread(t);
x.start(); /* Line 7 */
}
public void run()
{
for(int i = 0; i < 3; ++i)
{
System.out.print(i + "..");
}
}
}
A.
Compilation fails.
B.
1..2..3..
C.
0..1..2..3..
D.
0..1..2..


19  What will be the output of the program?
String x = new String("xyz");
y = "abc";
x = x + y;
how many String objects have been created?
A.
2
B.
3
C.
4
D.
5


20  What will be the output of the program?
String x = "xyz";
x.toUpperCase(); /* Line 2 */
String y = x.replace('Y', 'y');
y = y + "abc";
System.out.println(y);
A.
abcXyZ
B.
Abcxyz
C.
Xyzabc
D.
XyZabc

21.  What will be the output of the program?
try
{
Float f1 = new Float("3.0");
int x = f1.intValue();
byte b = f1.byteValue();
double d = f1.doubleValue();
System.out.println(x + b + d);
}
catch (NumberFormatException e)
{
System.out.println("bad number");
}
A.
9.0
B.
bad number
C.
Compilation fails on line 13.
D.
Compilation fails on line 14.

22.  What will be the output of the program?
class Q207
{
public static void main(String[] args)
{
int i1 = 5;
int i2 = 6;
String s1 = "7";
System.out.println(i1 + i2 + s1); /* Line 8 */
}
}
A.
18
B.
117
C.
567
D.
Compiler error


23.  What will be the output of the program?
public class StringRef
{
public static void main(String [] args)
{
String s1 = "abc";
String s2 = "def";
String s3 = s2; /* Line 7 */
s2 = "ghi";
System.out.println(s1 + s2 + s3);
}
}
A.
Abcdefghi
B.
Abcdefdef
C.
Abcghidef
D.
Abcghighi

24.  What will be the output of the program?

String a = "ABCD";
String b = a.toLowerCase();
b.replace('a','d');
b.replace('b','c');
System.out.println(b);
A.
abcd
B.
ABCD
C.
Dccd
D.
Dcba

25.  Which class does not override the equals() and hashCode() methods, inheriting them directly from class Object?
A.
java.lang.String
B.
java.lang.Double
C.
java.lang.StringBuffer
D.
java.lang.Character


java key...............





1.c

2.d

3.c

4.b

5.c

6.d

7.d

8.d

9.a

10.c

------------------------------

11.b

12.b

13.c

14.c

15.a

16.c

17.b

18.d

19.c----

20.c-----

21.a---

22.b-------

23.c

24.a--------

25.c--

Teqnix 2011 C paper

The Cradle of Bytes
C Objective Paper
Participant Name:-
College:-
Mobile No:-
1.  What will be the output of the program ?
#include

int main()
{
static char *s[] = {"black", "white", "pink", "violet"};
char **ptr[] = {s+3, s+2, s+1, s}, ***p;
p = ptr;
++p;
printf("%s", **p+1);
return 0;
}
A.
Ink
B.
ack
C.
Ite
D.
let

2.  What will be the output of the program?
#include
int main()
{
float a=0.7;
if(a < 0.7)
printf("C\n");
else
printf("C++\n");
return 0;
}
A.
C
B.
C++
C.
Compiler error
D.
Non of above

3.  What will be the output of the program?
#include
#include
int main()
{
printf("%d, %d, %d\n", sizeof(3.14f), sizeof(3.14), sizeof(3.14L));
return 0;
}
A.
4, 4, 4
B.
4, 8, 8
C.
4, 8, 10
D.
4, 8, 12

4.  What will be the output of the program?
#include
int main()
{
float *p;
printf("%d\n", sizeof(p));
return 0;
}
A.
2 in 16bit compiler, 4 in 32bit compiler
B.
4 in 16bit compiler, 2 in 32bit compiler
C.
4 in 16bit compiler, 4 in 32bit compiler
D.
2 in 16bit compiler, 2 in 32bit compiler

5.  What will be the output of the program ?
#include

int main()
{
union var
{
int a, b;
};
union var v;
v.a=10;
v.b=20;
printf("%d\n", v.a);
return 0;
}
A.
10
B.
20
C.
30
D.
0

6.  What will be the output of the program ?
#include

int main()
{
enum days {MON=-1, TUE, WED=6, THU, FRI, SAT};
printf("%d, %d, %d, %d, %d, %d\n", MON, TUE, WED, THU, FRI, SAT);
return 0;
}
A.
-1, 0, 1, 2, 3, 4
B.
-1, 2, 6, 3, 4, 5
C.
-1, 0, 6, 2, 3, 4
D.
-1, 0, 6, 7, 8, 9
--------------------------------------------------------------------------------------------------
7 What will be the output of the program ?
#include

int main()
{
int i=4, j=8;
printf("%d, %d, %d\n", i|j&j|i, i|j&j|i, i^j);
return 0;
}
A.
12, 12, 12
B.
112, 1, 12
C.
32, 1, 12
D.
-64, 1, 12

8.  What will be the output of the program ?
#include

int main()
{
enum value{VAL1=0, VAL2, VAL3, VAL4, VAL5} var;
printf("%d\n", sizeof(var));
return 0;
}
A.
1
B.
2
C.
4
D.
10

9  Assunming, integer is 2 byte, What will be the output of the program?
#include

int main()
{
printf("%x\n", -1>>1);
return 0;
}
A.
ffff
B.
0fff
C.
0000
D.
fff0

10 What will be the output of the program?
#include

int main()
{
printf("%d >> %d %d >> %d\n", 4 >> 1, 8 >> 1);
return 0;
}
A.
4 1 8 1
B.
4 >> 1 8 >> 1
C.
2 >> 4 Garbage value >> Garbage value
D.
2 4

11 What will be the output of the program ?
#include

int main()
{
int i=32, j=0x20, k, l, m;
k=i|j;
l=i&j;
m=k^l;
printf("%d, %d, %d, %d, %d\n", i, j, k, l, m);
return 0;
}
A.
0, 0, 0, 0, 0
B.
0, 32, 32, 32, 32
C.
32, 32, 32, 32, 0
D.
32, 32, 32, 32, 32

12.  What will be the output of the program?
#include

int main()
{
unsigned int res;
res = (64 >>(2+1-2)) & (~(1<<2));
printf("%d\n", res);
return 0;
}
A.
32
B.
64
C.
0
D.
128

13 Point out the error in the following program.
#include
#include

int main()
{
char *ptr;
*ptr = (char)malloc(30);
strcpy(ptr, "RAM");
printf("%s", ptr);
free(ptr);
return 0;
}
A.
Error: in strcpy() statement.
B.
Error: in *ptr = (char)malloc(30);
C.
Error: in free(ptr);
D.
No error

14.  What will the function rewind() do?
A.
Reposition the file pointer to a character reverse.
B.
Reposition the file pointer stream to end of file.
C.
Reposition the file pointer to begining of that line.
D.
Reposition the file pointer to begining of file.

15 Declare the following statement?
"An array of three pointers to chars".
A.
char *ptr[3]();
B.
char *ptr[3];
C.
char (*ptr[3])();
D.
char **ptr[3];


16 In which stage the following code
#include
gets replaced by the contents of the file stdio.h
A.
During editing
B.
During linking
C.
During execution
D.
During preprocessing

17 What will be the output of the program?
#include
#define SQR(x)(x*x)

int main()
{
int a, b=3;
a = SQR(b+2);
printf("%d\n", a);
return 0;
}
A.
25
B.
11
C.
Error
D.
Garbage value

18 What will be the output of the program?
#include
#define CUBE(x) (x*x*x)

int main()
{
int a, b=3;
a = CUBE(b++);
printf("%d, %d\n", a, b);
return 0;
}
A.
9, 4
B.
27, 4
C.
27, 6
D.
Error

19 What will be the output of the program ?
#include
#include

int main()
{
char str[] = "India\0\BIX\0";
printf("%s\n", str);
return 0;
}
A.
BIX
B.
India
C.
India BIX
D.
India\0BIX

20  What will be the output of the program ?
#include

int main()
{
char str[7] = "IndiaBIX";
printf("%s\n", str);
return 0;
}
A.
Error
B.
IndiaBIX
C.
Cannot predict
D.
None of above


21.  What will be the output of the program ?
#include

int main()
{
printf("%d, %d, %d", sizeof(3.0f), sizeof(“3”), sizeof(3.0));
return 0;
}
A.
8, 1, 4
B.
4, 2, 8
C.
4, 2, 4
D.
10, 3, 4

22 What is the notation for following functions?
1. int f(int a, float b)
{
/* Some code */
}

2. int f(a, b)
int a; float b;
{
/* Some code */
}
A.
1. KR Notation
2. ANSI Notation
B.
1. Pre ANSI C Notation
2. KR Notation
C.
1. ANSI Notation
2. KR Notation
D.
1. ANSI Notation
2. Pre ANSI Notation


23 What will be the output of the program?
#include

int main()
{
int fun(int);
int i = fun(10);
printf("%d\n", --i);
return 0;
}
int fun(int i)
{
return (i++);
}
A.
9
B.
10
C.
11
D.
8
24.  What will be the output of the program if the array begins at 65486 and each integer occupies 2 bytes?
#include

int main()
{
int arr[] = {12, 14, 15, 23, 45};
printf("%u, %u\n", arr+1, &arr+1);
return 0;
}
A.
65488, 65490
B.
64490, 65492
C.
65488, 65496
D.
64490, 65498

25.  What will be the output of the program ?
#include

int main()
{
float arr[] = {12.4, 2.3, 4.5, 6.7};
printf("%d\n", sizeof(arr)/sizeof(arr[0]));
return 0;
}
A.
5
B.
4
C.
6
D.
7



c key................





1.a-

2.a-

3.c-

4.a-

5.b-

6.d-

7.a-

8.b-

9.a--

10.c-

11.c-

12.a-

13.b-

14.d-

15.b

--------------------

16.d-

17.b-

18.c-

19.b-

20.c--

21.b-

22.c-

23.a-

24.c-

25.b-

C ++ Paper

The Cradle of Bytes
C++ Objective Paper
Participant Name:-
College:-
Mobile No:-
1-void main () {
int x=10;
int &y=x;
y=20;
cout << x ; cout<a. 1010 b. 2020 c. 1020 d. 2010
2-11 ^ 5
What does the operation shown above produce?
a. 1 b. error c. 5th power of 11 d. 14
3-What do we mean by containership ?
a. a class can contain object of other classes b. a class can be defined inside another class c. a class can be inherited by many other classes d. None
4-What is the output?
class LD {
int i; }
class CE : public LD {
int j; }
void main() {
CE ce;
ce.i=10; ce.j=20 ;
cout << ce.i; cout <a. 1020 b. 2010 c. compile error d. None
5-. In protected derivation of a class
a. public becomes protected b. private becomes protected c. protected becomes protected d. both a and c
6- void main(){
static int i;
switch(i) {
default:cout<<"garbage";
case 0: cout<<"zero"; break;
case 1:cout<<"one"; break;
case 2: cout<<"two"; break; } }
a. error b. zero c. garbage zero d. zero garbage
7-What is output ?
void main(){
cout<<(-1<<4); }
a. ff00 b. ffff c. 240 d. None
8 -.What is the output ?
#define square(x) x*x
void main(){
int i; i = 64/square(4); cout << i; }
a. 16 b. 64 c. 4 d. error
9-What is the output?
main(){
cout<< main}
a. some address b. undefined symbol error c. 0xfa d. None
10-#define int char
main(){
int i=65 ; j=sizeof(i);
cout<a. error b. 1 c. 2 d. 0
11-int testarray[3][2][2] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12};
What value does testarray[2][1][0] in the sample code above contain?
a. 3 b. 5 c. 7 d. 11
12-What is a difference between a declaration and a definition of a variable?
a. Both can occur multiple times, but a declaration must occur first.
b. A definition occurs once, but a declaration may occur many times.
c. A declaration occurs once, but a definition may occur many times.
d. Both can occur multiple times, but a definition must occur first.
13-What is the output ?
void main() {
int x, y=10 , z=10;
x=(y==z);
cout << x; }
a. 0 b. 1 c. error d. 10
14-Consider following code
class person { };
class Student : protected person { } ;
What happens in above code ?
a. will not compile because class body of person is not defined. b. will not compile becauses class body of student is not defined .c. will not compile because class person is not public inherited. d. will compile successfully.
15-.which of the following is not overloading the function?
int sum(int x,int y)
a. int sum(int x,int y,int z) b. float sum(int x, int y) c. int sum(float x, float y) d. float sum( int x, int y , float z)
16.which of the following functions give the current size of string object?
a. max_size() b. capacity() c. size() d. find()
17.We can make a class abstract by
a. using static key word b. using virtual keyword c. making at least one member function as virtual function d. making at least one member function as pure virtual function
18.Which of the following will produce a value of -22 if x=-22.9?
a. ceil() b. ceiling() c. floor() d. flooring()
19.What is result of the expression
(1 & 2) + ( 3 | 4) in base two?
a. 7 b. 110 c. 111 d. 101
20-.The actual source code for implementing a template function is created when
a. The function is actually created b. The declaration of the function appears
c. The definition of function appears d. The function is invoked
21.Which of the following is a sequence container?
a. stack b. deque c. queue d. set
22-.What is the error in the following code?
Class test {
Virtual void display();}
a.no error b. function display() should be declared static c. function display should be defined d. Test class should contain data members
23-. The friend functions are used in situations where
a. we want to exchange data between classes b. we want to have access to unrelated classes c. dynamic binding is required d. none
24.which of following are legal declarations of a reference?
a. int &a=10 b. int &a=m c. int &a=m++ d. all of these
25.which of the following cannot be passed to a function?
a. aliases b. header files c. both a and b d. none

c++ key
1-b

2-d

3-a

4-c// i is private member of class LD . so it cant be inherited

5-d

6-b// static variables r automatically asssigned 0 value

7-d

8-b// precedence of / is more tham that of * 64/4*4=16*4=64

9-a// functions also have address as variables

1o-b

11-d

12-c

13-b

14-d

15-b

16-c

17-d

18-a

19-c

20-d

21-b

22-a

23-b

24-b

25-b

Sunday, January 23, 2011

Curriculum Vitae

Objective:- To dedicate my knowledge and skills for the development of the company
College:-L.D. College of Engineering , Ahmedabad , Gujarat , India
Academics:-
PreEngineering:-
SSC(School Secondary Education ,GSHSEB )(March 2005): 86.14 %
HSC(Higher Secondary Education , GSHSEB) (March 2007): 92.5% in AB Group(6th Rank in all over the Gujarat State) (P+C+ M=93.333 %) (P+C+B=91%)
Engineering (BE Computer , Gujarat University):-
1st Year 79.85 % (2nd in Computer Branch)
3rd semester 78.53 % (1st in Computer Branch)
4th semester 73.21 %
5th semester 75.25 %
6th semester 75.35%(3rd in Computer Branch)
Aggregate 76.44 %

Technical Skills:-
Languages expert in :- C and Java
Language exposed to :- HTML,XML, SQL , C++
Technology :- Servlet , JSP and JAVA Beans , MVC(design pattern)
Managerial Skills:-
Event Manager of “The Cradle of Bytes” ,an event based on C ,C++ & JAVA in the national level Tech Fest “Samannvay” held in our college in February 2009 in which total 250 students from all over India Participated.
Projects:-
1- Flight Management System ( 3rd semester) (lang. used C )
2- My Personal E-Diary (in JAVA)
3- Game of Navkakri (in JAVA)
4- Online Exam Application ( 6th semester) (tech. Used MVC pattern in servlet , JSP and JAVA Beans)which was used in event “The Cradle of Bytes” for the elimination round
Presentations(Seminars) :-
1- JDBC (Java Database Connectivity)
2- Overview of .Net Framework
3- Functions & Pointers in C
Achievements:-
1- 1st rank in Rajkot Center in All India Ramanujan Maths Exam
2- 1st rank in the centre in Dr. S. Radhakrishnan Award Rajasthan Exam(Bronze Medal)
3- Best student of the year (twice) in my school St Ann’s High School , Vadinar
4- 2nd in Diocesan Moral Science Examination conducted by Diocese of Rajkot
Personal Details:-
Date Of Birth:-22-05-1989(age 21)
Hobbies:- Reading philosophical Books ,playing Cricket ,singing
Interests:- Android Mobile Application Development

Friday, January 7, 2011

My Technical Interview At TCS

Technical Interview in TCS

H: interviewer
I:myself


H: Ok tell me about urself ?
I: Besides all the information given in my curriculum vitae , I am consistent as u can see from academics marks . I can converse well with people . I can work better in a team . The fundamental principle of my life is that “Successful peop;e have the ability to read between the lines” . I like to do things in an innovative way .
H(interrupting me): Ok , tell me the last thing u have done innovatively , anything even outside academics ?
I:Sir , one day one of my friends texted me a msg “ Hay , Have u done my work ?” and after so much of scrolling down it was written “99% of the people will call u on reading the first line .Fortunately u r not among them .”
Now what common people will do ? They will just look at the msh , laugh and keep the mobile in the pocket . But I did something different.
I texted her “Ur work is over but there is some problem .” After so much of scrolling I wrote the same thing as was written by her i.e “99% of the ….” . !!!!!!!!!!!
H:In what u r expert subjects(OS and CN) or languages ?
I: Sir , languages and especially JAVA .
H:Ok Tell me what is polymorphism ?
I: It is the use of same thing for different purposes . There r two types of it . 1- Compile time (method overloading) 2-Run time (method over riding ).
H: Can u give me any real world example of polymorphism ?
I: Sir If in a class we have one add method taking two integer arguments , we can overload this add method which takes two float values .
H(interrupting me ): No No , I want real world eg . outside java
I: sorry sir , I don’t know .
H: Which books u referred ?
I: Complete Reference and Head First
H: It is given in Complete Ref
I:Sorry Sir , I don’t remember.
H:Write a code snippet describing use of Inheritance and Polymorphism ?
I:
Class A{
int add(int a,int b)
{
Return (a+b);
}
// overloading
Float add(float a, float b)
{
Return(a+b);
}
}
Class B extends A{
// over riding
int add(int a, int b){
return(a++ + b ++);
}
} // class B ends
H: U gave seminar on JDBC . Tell me how u represented .
I: Sir , first I explained why there was need for JDBC . Before JDBC , ODBC( open database connectivity ) by Microsoft was used . But ODBC drivers were written in platform dependent lang. like C, C++ etc . Also ODBC drivers need to be installed on the client . JDBC drivers(type 3 and type 4) are in java so platform independent .
H(interrupting me):ok ok , tell me how will u establish connection with DBMS in JDBC ?
I:DriverManager class has getConnection(String url ) method. When we call this method with proper url , it returns an Object of type Connection(an interface).
General format of url is :
Jdbc:subprotocol:subname
For eg: jdbc:odbc:www.hostname:port no/DSN
H: How can we find the hostname ?
I: Sir , We can find it using InetAddress class of java.net package .
H: Ya , that’s one solution . But I want non Java solution .
I: Sorry Sir , I don’t know .
H: What is Java bean ?
I:Java Bean is a java class following some conventional rules and which can be reused . We can create reusable components using java Beans .
H: Give me difference between Java class and java bean
I: Java Beans will hava getters and setters method for each property (fields).
H: Explain me how ?
I:
General Format :
Public T getN();
Public void setN(T);
Where T- Type
N-Name of property
H: If I tell u to work in PHP will u be able to do ?
I: Yes , sure
H: How much time will u take ?
I: One month
H(was surprised): One Month !!!!
I: OK,20 days
He smiled.
H: Ur interest is Android Mobile Application Development . From where u obtained the resources ?
I: code.google.com , android.developers.com , and wrox publication book on Android
H:ok , u can leave
I: Ok , It was pleasure meeting u .
H: me too .
I: Sir , I attended ur seminar on Cloud Computing which u gave two months back in our college .It was very interesting .
H: I was abt to ask that . But forgot . Ok Now I don’t want to ask . U can go.

Wednesday, March 25, 2009

My Mom

This teenager lived alone with his mother, and
the two of them had a very special relationship.
Even though the son was always on the bench,
his mother was always in the stands cheering. She
never missed a game.
This young man was still the smallest of the class
when he entered high school.
But his mother continued to encourage him but also
made it very clear that he did not have to play
football if he didn't want to. But the young man
loved football and decided to hang in there.
He was determined to try his best at every practice,
and perhaps he'd get to play when he became a senior.
All through high school he never missed a practice
nor a game, but remained a bench warmer all four years.
His faithful mother was always in the stands, always
with words of encouragement for him.
When the young man went to college, he decided to try out
for the football team as a "walk-on." Everyone was sure
he could never make the cut, but he did. The coach admitted
that he kept him on the roster because he always puts his
heart and soul into every practice, and at the same time,
provided the other members with the spirit and hustle they
badly needed.
The news that he had survived the cut thrilled him so much
that he rushed to the nearest phone and called his mother.
His mother shared his excitement and was sent season tickets
for all the college games. This persistent young athlete
never missed practice during his four years at college, but he
never got to play in the game. It was the end of his senior
football season, and as he trotted onto the practice field
shortly before the big playoff game, the coach met him with
a telegram. The young man read the telegram and he became
deathly silent. Swallowing hard, he mumbled to the coach, "My
mother died this morning. Is it all right if I miss practice
today?"
The coach put his arm gently around his shoulder and said,
"Take the rest of the week off, son. And don't even plan to
come back to the game on Saturday.
Saturday arrived, and the game was not going well. In the
third quarter, when the team was ten points behind, a silent
young man quietly slipped into the empty locker room and put
on his football gear. As he ran onto the sidelines, the coach
and his players were astounded to see their faithful team-mate
back so soon.
"Coach, please let me play. I've just got to play today,"
said the young man. The coach pretended not to hear him.
There was no way he wanted his worst player in this close
playoff game. But the young man persisted, and finally feeling
sorry for the kid, the coach gave in.
"All right," he said. "You can go in." Before long, the
coach, the players and everyone in the stands could not believe
their eyes. This little unknown, who had never played before
was doing everything right. The opposing team could not stop
him. He ran, blocked and tackled like a star. His team began
to triumph. The score was soon tied. In the closing seconds
of the game, this kid intercepted a pass and ran all the way
for the winning touchdown. The fans broke loose. His team-mates
hoisted him onto their shoulders. Such cheering you've never
heard!
Finally, after the stands had emptied and the team had showered
and left the locker room, the coach noticed that the young man
was sitting quietly in the corner all alone. The coach came
to him and said, "Kid, I can't believe it. You were fantastic!
Tell me what got into you? How did you do it?"
He looked at the coach, with tears in his eyes, and said,
"Well, you knew my mom died, but did you know that my mom was
blind?" The young man swallowed hard and forced a smile,
"Mom came to all my games, but today was the first time she
could see me play, and I wanted to show her I could do it!"

I hope that story inspires you.

Delays r dangerous in LOVE

A simple love-story.

Class 10...

As I sat there in English class,I stared at the girl next to me. She was my
so called 'best friend'. I stared at her long, silky hair, and wished she
was mine. But she didn't think of me like that, and I knew it. After class,
she walked up to me and asked me for the notes she had missed the day
before. I handed them to her. She said 'thanks' and gave me a kiss on the
cheek. I want to tell her, I want her to know that I don't want to be just
friends, I love her but I'm just too shy, ....I dont know why.

Class 11...

The phone rang. On the other end, it was her. She was in tears, mumbling on
and on about how her love had broke her heart. She asked me to come over
because she didn't want to be alone, so I did. As I sat next to her on the
sofa, I stared at her soft eyes, wishing she was mine.She looked at me, said
'thanks' and gave me a kiss on the cheek. I want to tell her, I want her to
know that I don't want to be just friends, I love her but I'm just too shy,
... I dont know why.

Second year...

The day before a college dance festival she walked to my locker. "My date is
sick" she said, "he's not gonna go" well, I didn't have a date, and in 7th
class, we made a promise that if neither of us had dates, we would go
together just as 'best friends'. So we did. That night, after everything was
over, I was standing at her front door step. I stared at her as she smiled
at me and stared at me with her crystal eyes. She said- "I had the best
time, thanks!" and gave me a kiss on the cheek. I want to tell her, I want
her to know that I don't want to be just friends, I love her but I'm just
too shy, ...I dont know why.

A day passed, then a week, then a month ... and more time.

Before I could blink, it was graduation day. I watched as her perfect body
floated like an angle upon stage to get her diploma. I wanted her to be
mine-but she didn't notice me like that, and I knew it. Before everyone went
home, she came to me in her smock and hat, and cried as I hugged her. Then
she lifted her head from my shoulder and said- 'you're my best friend,
thanks' and gave me a kiss on the cheek. I want to tell her, I want her to
know that I don't want to be just friends, I love her but I'm just too shy,
..I dont know why.

Now I sit in the pews of the church. That girl is getting married... the one
I have loved all my life is getting married now !!! I watched her say 'I do'
and drive off to her new life, married to another man. I wanted her to be
mine, but she didn't see me like that, and knew it. But before she drove
away, she came to me and said 'you came'. She said 'thanks' and kissed me on
the cheek. I want to tell her, I want her to know that I don't want to be
just friends, I love her but I'm just too shy, ...I dont know why.

Years passed...

I looked down at the coffin of a girl who used to be my 'best friend'. At
the service, they read a diary entry she had wrote in her high school years.
This is what it read: "I stare at him wishing he was mine, but he doesn't
notice me like that, and I know it. I want to tell him, I want him to know
that I don't want to be just friends, I love him, I wish he would tell me he
loved me. But he's just too shy, ...I dont know why."



'I wish I did too...' I thought to my self, and I cried. Everyone... this is
one of those timeless tales which might have happened at anytime... might
even be happening rite now in your life .. maybe !!! So do yourself a
favour, tell her/him you love them 'cuz they just won't be there forever.

Wishing you all the best & hey remember that for the world you might be one
person but for one person ya might be world...got it? ...hey so what are ya
waitin' for ...bang on ya love one's home & start firin'... take care.

-----Yash