sanjeevmehra mehra

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

Recent posts by sanjeevmehra mehra

Thanks you very much .
Is petstore freely downloadable?

I tried to download petstore from sun site but not able to get the free download of petstore.


*It is non technical question, I asked it because few students share their views using petstore application.
Thanks.
i got the link guys.
if anybody else need it, here it is


Links to bboks with rating

but unfortunately I didn't get the prepration book for Java Web Services Certification in the list .
[ August 11, 2005: Message edited by: sanjeevmehra mehra ]
19 years ago
hi,
I am not able to find the link on site for books with rating.
Pls. forward the link asap.
Thanks.


Regards,
Sanjeev.
19 years ago


Having static methods or data is decidedly not against OO design principles in and of itself. Like anything else in OOP, though, it can be misused in a non-OO way, just as one can have an Automobile class extend an Engine class or vice versa instead of having Automobile aggregate an Engine instance.



Thanks for your reply .
19 years ago
Math class has static methods, static members can be accessed with class name (without creating objects). Is this not against OOPs principals? static helps to have members at class level (to share with all objects), so having variables as static is fine, but why (when) we should prefer methods as static?
thanks for sharing your view.
regards.
19 years ago
1. String obj1 = new String("Hi");
2. String obj2 = new String("Hi");
3. String obj3 = "Hi";
4. String obj4 = "Hi";
5. String obj5 = "hi";


obj1 == obj2; //false, in both cases memory is allocated and two objects are being created

obj3==obj4; //true, an object is being created at line 3. obj4 is refering to same object which is getting cretaed at line no 3.

a new object is beiing created at line no 5.

obj4 == obj5 //false, obj3 & obj4 are refering to one object & obj5 is refering to different object

== operator copmares the object's reference.

hope it would be helpful.
[ April 05, 2005: Message edited by: sanjeevmehra mehra ]
Hi,

As per my knowledge you can start with

UML
Design Patterns
EJB 1.1

Once you finish above topics, you can buy SCEA preparation book like Paul Bambara or Cade's book or you can prepare rest of the topics through net and after that attempt (free) mock exam available over net.

Javaranch's recourses for SCEA exam are available at SCEA Links.

Hope it would be helpful.

If I am missing something pls. correct that.

Even good notes are avilable in this forum posted by few candidates after passing the exams. you can scan this forum to get those notes.
[ January 18, 2005: Message edited by: sanjeevmehra mehra ]
in part III, you will be asked about the part II, assignment, which you have submitted. You need to have all the details & reasons for your decisions in your mind, that's it.

Best of Luck.
Marker interface does not have any member but there is always reason to use it.
it's tag or green signal to allow to perform the task for which we inherit class/interface from it.
20 years ago
you took the exam in just two weeks, that is surprise for me. pls. get some time to pass the tips topics wise.

that would be appreciated.
[ December 10, 2004: Message edited by: sanjeevmehra mehra ]
byte 8 bit
max value it can hold " 0 1 1 1 1 1 1 1 "

8th bit is sign bit & value is +127

128 default data type is int (32 bytes)
128 ==> "0 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0 - 0 0 0 0 0 0 0 0 - 1 0 0 0 0 0 0 0"

cast it(32 bits) to byte(8 bits) i.e pick 8 bits from right side i.e
1 0 0 0 0 0 0 0

Please convert this value to decimal value.


I am not in touch with this (shift operator & conversions), pls. wait for better response.
[ November 27, 2004: Message edited by: sanjeevmehra mehra ]