Race condition occurs when two threads acces same instance variable, at same time.i.e both threads may get wrong data.
unlike local variables,Remeber instance variables are shared by threads
in...
Type: Posts; User: vmshenoy; Keyword(s):
Race condition occurs when two threads acces same instance variable, at same time.i.e both threads may get wrong data.
unlike local variables,Remeber instance variables are shared by threads
in...
Now the exam gives you more time
i.e 210 minutes
u can go for SCJP1.6exam..infact it is latest version.Though i dont know whether any book has come in market or not as SCJP1.6 has been releasd by sun recently.
I gave SCJP1.5 exam last week and...
DI took my SCJP 1.5 exam on monday, and i am really happy to tell
you guys that i have secured 93%.:)
I would like to share my experience.
The exam wasnot that tough and was 210 min long.Yes i.e...
I have confusion with below code...
which of them are valid inserts?
class Parent<E>
{
public E get() { return null;}
public void set(E e) { }
}
class Child extends Parent<Number>
{
Hi friends,
I wanted to knwo which Certification exam to take?
I mean SCJP1.4 or SCJP 1.5?
Also how valuables are these certifications in market?
Hop to get reply soon
Hi saurabh..
Making a website isnot that tough, but i want to knw do u really want it to go liv or is it for ur college proectetc...
First of all to make any website u need to use some...
i am not sure, but as far as i know and the project which i hav come across, we cannot use more than1 struts-config.xml file.
Yes, business logic is written in action class.There is one action class for each module , say, for eg if u have login module, then u can have LoginActionClass.java , where u can implement business...
Test cases is nothing but a condition, this will be used for testing.It will be better if i explain it through an eg. If someone asks u to test an application , say some site and users below 18 years...
in my view, u being new to all this , SAMS publicatio's JSP in 24 hrs will b useful for u
Also multiple inheritance is not implemented in java.
also the declaration of variables, i.e primitive data types are used(which is other reason it is not object oriented THOUGH Wrapper classes are...
Hi,
either when the tests are successfull, what i mean with successful is that they get the output as per the requirement as well as the performace related issues are satisfied.
Testing can ...
I have installed oracle8i on my home machine.I am using Windows XP OS. When iam installing it asks for hostname , i dont know what to be entered there.
What all to be set in tnsnames file. If i...
Yes java do support call by reference property.This can be seen with String Buffer objects.
ya this is only possible with strings.
String is a class in Java.
You can create java String object using new.
String str=new String("");
String str="erer";
Both ways create String object.
...
hi
action tags are dynamic.That is when u use them only the output of that file is replaced
but when you use directive tags, then they will include all the source code,
which is clearly not...
You can create a Connection Class, keep one getConnection method there which has JDBC code and
whenever u want to create a connection then make object of that class
and call that function.
If...
no need to compile it manually! ofcourse it is an advantage of jsp!
Hi friends
can any1 tell me how to parse xml file and store it in Database
thanks pramod!Though i got the solution that day itself, i forgot to write here!
But still too much thanks! Hope you will help me in other problems too(as i come across)!
hi rohit
first of all i would like to say that its not us who call garbage collector!
Garbage collector is called by JVM itself when it feels that there is no enough memory!but when it will run...
in java memeory is allocated to object at run time;
if u are familiar with java, then you must have come across the keyword 'new'
which creates the objects and allocates memeory to it!
See...
hi suresh
no i framed my question wrong!
i got the solution too!
there should not be semicolon ; after MouseOver:javascript()
the code which works
is
hi suresh
but it will return more than one row from DB!
suppose it returns three rows!
i am storing these three names in array like
arr[]=rs.getString("lastname");
now i want to add it to...