newgen pras

Ranch Hand
+ Follow
since Jun 01, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by newgen pras

Hi Folks ..
I had completed my scjp 1.4 exam .Now I am looking for some certification on Object Oriented design . I am planning to prepare for IBM 486 exam , is there any other certification are there ? Please give me ur suggestion to regarding whether I can go for IBM 486 or any other thing . Pls advice

Regards
pras
hi chettan..
I am also free..I can also help u ..my mail id is best_friendin@yahoo.com
Prasanna
19 years ago
Hi all..
I had cleared scjp 1.4 exam with 86%. K&B book and their mock exams are really helpfull for me ...Once again thanks for all u guys ..

Prasanna
19 years ago
Hi Shivani ,
Here Negative numbers are repersented by 2's complement numbers.. since sign bit is setted as 1 ..to get the actual value , we have to take complemet the given bit pattern and we have to add 1

for example
11111111111111111111111111001000 's
complement is
00000000000000000000000000110111 and add 1
00000000000000000000000000000001
--------------------------------------
00000000000000000000000000111000 which is equal to 56 ..since sign bit is 1 the value is -56 ..

Hope this helps for more clarification pls refer
http://www.janeg.ca/scjp/oper/shift.html


Regards
Prasanna
scjp 1.4
Hi Ernest Friedman-Hill ..
Thanks for your immediate response. But to make my question clear..I meant why Jvm is implemented that way ??..See in case of java we can say due to GC they had implemented this way ..but this behaviour is a bit common ...for example even in c++ when we create a object it get stored on heap not in stack... I do want to want why it's happening like this.
I think i am making my question a bit clearer..Thanks in advance ..

Regards
Prasanna
19 years ago
Hi all ..

If we want to establish a jdbc connection ... at first we will load the driver for the corresponding database like
..My doubt
is why can't we import the corresponding driver class directly using import keyword..
I mean to ask is there any other thing particular there in using Class.forName() function ..
Thanks in advance ..

Regards
Prasanna
Hi ..
We all know when ever we create object in java it will get created in Heap .. Pls explain me why it can be allocated in stack .....I don't understand why it cannot be allocated in stack .. Pls explain .. Thanks in advance

Regards
Prasanna
19 years ago
Hi Kavin ....
For ur first question....
Static function cannot be overrided.. so Static functions are binded at runtime ....

For ur second question ... i guess B, C, D options are correct....
Hi narendra darlanka ...
What version of jdk.. ur using ..for lower version it will give compilation error..because they don't suppert autoboxing ....

Prasannna
Hi find the Example code for this ...

See the hashcode value i got may be different from what u get ..but the if condition will always remain true..

Prasanna
hi

Yes.... the hashcode will remain same for any number of calls with in a single execution ...I hope u got confussed here only .. With that execution it will remain same ..

If that program is executed second time the hash code need not be same as what we obtained in first excution but it will remain same through out the second execution ... hope this helps ...

Prasanna
Hi pals..I am also interested in this thing .... my email id is itmpras@yahoo.com ... Pls join me also
19 years ago
I don't think object reference will get stored in Heap... If that is going to be stored in Heap ..how it will get garbage collected ..pls explain me ...
Hi ...
Stack is the place where ur primitive local varibles and object references get stored...

Heap is the place where ur object get stored ...

for example
Object ob = new Object();
Object ob1 = ob;

here ob, ob1 will get stored in stack..... the object created by new operator will stay in heap....

Pls correct me if i am wrong any way
Hi Roopa ..
I am also planning to take scjp 1.4 on august first week... letz plan together ...