Sona Makheeja

Greenhorn
+ Follow
since Oct 25, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Sona Makheeja

Hi,

You can use a Vector instead of an array,
in for loop or watever, you can say Vector.add();


Hope thsi helps
20 years ago
In a project we used Jrun as a web server.... Just yest i got to know taht jrun can be used as App server too.. can anyone explain what are the requirements for an app server and a web server??? who provides what??
i mean according to me to execute jsp pages, we used jrun as webserver in combination with IIS...
who provides support for Beans in Java files (I assume ejb in jsp is taken care by web server)???
who provides support for connection pooling???

If there is a document to go thru, whr i can clear my doubts...

I think i had posted this in a wrong forum previously.. Aplogize for taht
20 years ago
In a project we used Jrun as a web server.... Just yest i got to know taht jrun can be used as App server too.. can anyone explain what are the requirements for an app server and a web server??? who provides what??
i mean according to me to execute jsp pages, we used jrun as webserver in combination with IIS...
who provides support for Beans in Java files (I assume ejb in jsp is taken care by web server)???
who provides support for connection pooling???

If there is a document to go thru, whr i can clear my doubts...
[ November 22, 2004: Message edited by: Sona Makheeja ]
20 years ago
1. Why only one public class is allowed in a java file, it shudnt matter as a separate class file is created for each class???

2. Why different name is allowed for the java file for an interface, though the interface name is different and class file is created as per interface name

Can anyone answer this please
20 years ago
In an interview i was asked

"What are the disadvantages of Exception handling"
i cudnt thnk of anything

I answered: If in the catch block you arent coding to undo the things done the process remains incomplete For eg if two tables are to be updated , first gets updated properly, but b4 second does there is an exception , so the db contains invalid state

but he wasnt Ok with my answer... he said what if the coding is taken care properly???

Can someone help me with the answer.
20 years ago
Thanks.
20 years ago
If a base class has a method defined as
void method() { }
Which of the following are legal prototypes in a derived class of this class. Select the two correct answers.
void method() { }
int method() { return 0;}
void method(int i) { }
private void method() { }



what are the correct choices? i read this somewhere n not Ok with the answers, i tried comiling thing too, can anyone explain the choices plz
20 years ago
These are the octal numbers, they are converted into binary andd then left or right shifted and the results are converted back in hex 0x.

Try removing the Integer.toHexString statements and you get the integer values .
As you are implementing the abstract class then n there, and implementing the abstract methods, as Barry says, it is the subclass actually returning the results.
But the answer as to the difference between the interface and abstract class is still to be answered. as per me, the answer given by you is OK
20 years ago
Congrats...
Can you please let me know.. what was the preparation procedure you followed?? which books u referred?? and what sites were useful?? and which mock exams u tried?? n how much time u gave in for the exam??
20 years ago
Submit the call to the database query, on a function on click of "Go", currently in the jsp, it is searching the database on click of the first combo selection, tahts what u mean, right?. Wud be more helpful if u paste ur jsp here.
20 years ago
JSP