SHALINI PATEL

Ranch Hand
+ Follow
since Oct 31, 2000
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 SHALINI PATEL

hi there,
It really takes courage to come up and say this...... I would appreciate this... Dont worry, and keep going, I think u should try out all the mocks listed on maha's site, and just know the concepts... and run those examples and play around with it.. U would really get to know so many small mistakes that we often ignore and u would know this only if u compile and run those short codes..
I am sure u will do excellent the next time.... Dont worry...
SHALINI
23 years ago
HI SACHIN...
CONGRATS, GREAT SCORE... I am also using JQPLUS lately, and its really been helpful..
Anyway, good luck for the developer...
SHALINI
23 years ago
CONGRATULATIONS..
Its a good score.. Can u higlight something on assignment and flow control...... I often hear from many people that its very tricky and quiet confusing.. How good is JQPlus. I mean is the hardness level something similar to real exam.. It has something like easy to real brainer.. How would u rate the test wrt to Jqplus's hardness level?
Thanks in advance.
23 years ago
hi raj,
Strings r either literals or object reference.
I mean u can create something like
String s = "Raj"; which is a literal
and String[] s1 = new String[1];
s1[0]= "Raj";
So I hope u get this..
Now coming to your question instanceof (which is not the same as instanceOf) operator is used for object reference only..
I mean u cannot use it for literals.. The name itself suggests that.....CHECK IF THE OBJECT IS AN INSTANCE OF ITS OWN CLASS OR THE SUBCLASS OF THE CLASS..........
The first case is ok..
The second one says s[0] instanceof String[] which is not ok, because s[0] is a literal. If u wrote something like s[0]= new String("Raj"); that would have worked..... try it out..
and finally the third one is the same.. it should be String[]
Hope that helps..
please correct me if its wrong...
SHALINI
HI everybody..
I have a silly doubt.. All integral literals(byte, short, int and char) r signed.....
Can somebody explain in simple words the difference between signed and unsigned literals.
Thanks in advance..
shalini
Hey there....
Thanks for those tips on threads... I am taking the exam soon.. Was a little worried about thread..
shalini
23 years ago
HI RAJNIKANT....
Congrats.... great score....
Can u comment something more on the questions of threads and i.o. I am really worried about the same..
Thanks in advance.
wish u good luck...
shalini
23 years ago
hi hemant....
congrats for such an excellent score... good luck for the future....
can u highlight something on the questions of threads... I hear from everybody that its very hard... Which books or tutuorials need to be read to get through it...
thanks in advance..
shalini
23 years ago
HI....
How do u get the vouchers for SCJP.... Where to contact..
thanks,
SHALINI
MARK AND CHANDRU,
I think that's the fundamentals of late binding... Can somebody explain in simple english as to what is late binding.... I did read that article.... It doesnt seem to be so clear......
Chandru, I agree with u about the method print2()..... Yu r correct...
shalini
hi paul,
But we r not calling the method of the superclass at all......
I dont get this paul..... can u explain more clearly..... Here the method is private in the superclass and is overridden in the superclass with a wider accessibility..... So it should compile.......
Can somebody explain this......
SHALINI
hi everybody......
I have been on this site for a month now... and its great to share the experiences, I would appreciate that fact, but its really a very good discussion going on.... Hope i reach this message to a bartender....
I agree with amit, that we should have different sub topics. Say the chapters of jls. like language funda, io, threads, etc.... and the users would have a choice to put up their questions on this specific topic.... So that would not only create a database of some good questions but also, many repeated questions would not come up again and again, assuming that the users would have looked into those questions earlier..... I mean something similar to what maha anna has done in her site.....
Its a very intersting forum and lets do the best to make it even more effective......
I dont know whats going around with this example....
by declaring the method print() as private in the superclass A it does not compile. But actually when u see the example, in subclass B we have A a = new B() So a.print() should call the print method of subclass B and not of A..
Remove private and it compiles......I think this is some basic fundas of C. Can somebody explain.... I have no clue about C or C++...... Just know their names.......

Thanks in advance....
HEY MILAN,
So finally u did it........ congratulations. Nice to hear that...
Can u describe the hardness level of questions on threads..... everybody around says that its quiet hard....... hope to hear from u soon......
SHALINI
Subha,
I have a doubt regarding your example,
Here yu r calling a non static method in the main which is static, Is this valid? I mean by calling it even through object reference i.e o1.nonstaticmethod().......... I cant understand this, can yu explain it more clearly... Hope I dont sound so silly.

SHALINI