Basanti Mathad

Ranch Hand
+ Follow
since Aug 27, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Basanti Mathad

Hi,
can anyone suggest me a website where in i can shop for Manning publication book by Hanumanth Deshmuk ? Amazon.com doesn't seem to work.
Thanks in adv,
basanti
Thank u all so much......
basanti
21 years ago
Hi guys,
I got certified today after noon.
Thanks for all ur support N guidance without which it would have been difficult.Dan's exam was so helpfull and so was Marcus exams.
I took around 5 to 6 weeks for the preparation.I used M.Khalid book for reference.The exam was easy.There is nothing to get tensed or worried.If u take some couple of mock exams, that should be ok.
Thanks again.
Huhhh.........am so relieved.
Basanti
21 years ago
hi,
i have a doubt in this,
class A extends Thread {
public void run() {
try {
synchronized (this) {
wait();
}
} catch (InterruptedException ie) {
System.out.print(interrupted());
}
}
public static void main(String[] args) {
A a1 = new A();
a1.start();
a1.interrupt();
}
}
is it possible that before a1 has got the opportunity to run, a1.interrupt is called? in that case what wud happen for the wait called in run() method and the out put for as a result?
thnkx,
basanti
hi,
I know that the wait/notify shld be called in the synchronized block.But does the thread give up the lock while waiting?
thnks
basanti
thank u so much
basanti
am sorry...
i posted it in a wrong place.
basanti
some mock exams claim that this comination is a valid stmnt.But Khalid book says that its wrong.can anyone tell me which is correct.
thanks,
basanti
am confused here....
when u say the static block members r static implicitly, then where is the question of referring the non static members?
pls explain.
thank u.
hi,
can anyone answer these qstns?
1. are the variables declared in the static initializer implicitly static?
2. why is it giving me the compiler error when i mention static before the variable in static initializer.
3. static
{
// static int x= 5,y=5; //gives compiler error
int x= 5,y=5;
}
static int x,y;
when i use the variables in the main program, it uses the static variable.So in this case, is the scope of the variables only within the static block?
Thank u,
basanti
Hi,
can anyone tell me what wud be the result of this method and why? I thought the answer is
-1.Is that right?
String banner = "One man, One vote";
int subInd1 = banner.lastIndexOf("One", 10);
System.out.println(subInd1);
Thank you
Hi,
I guess its not possible to access the method...
basanti
Hi,
The page isn't working.......
basanti
ya i meant to say that but i didn't.........
thank u........