gaurav singhal

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

Recent posts by gaurav singhal

String s1,s2,s3,s4;
s1 = "Hello";
s2 = s1;
s3 = s2 + "Pal";
s4 = s3;
A. 1
B. 2
C. 3
D. 4
E. We can't say.
Ans:- c



Hi Guru,

"Hello" and "Pal" are string objects which are created in pool. s1 and s2 point to the same "Hello" object in pool whereas "HelloPal" is another object which is created during concatenation pointed by s3 and s4. Therefore total object in a pool is 3.

Remember whenever you use a different string in your program e.g. "pal" a pool object is created.

Regards
Gaurav
SCJP 1.5
Peter,
Agreed and OOAD will of great educational value.....OOAD is a different ball game all together as compared to other technical certification. OOAD experience as well as knowledge will play a greater role as compared to other certification like SCJP where knowledge can be easily transformed into code. Whereas creating a good design & architecture of a system with OOAD knowledge still need a good amount of experience/exposure.

But still to conclude atleast for learning and to have good skills/knowledge to develop the system of high quality and in less time this certification provide a good value.

Gaurav
[ February 22, 2007: Message edited by: gaurav singhal ]
To some extent I agree with peter but still think certiification will add value or give you a point to prove that you are aware of OOAD concepts. Most of the employer does not ask for it but if you apply for architect or designer psition having cerification will add value....Similarily I have not seen any employer specificaly asking for SCJP or SCBCD certification but having them will add value to profile not specifically to have a long list.
Hello,

From sometime I am thinking that why the OOAD certification are not much taken/valued/popular as compared to other certifications.

Few reason I can think about is
  • There is no single body governing OOAD certification. It is offered by IBM,Rational and OMG.
  • No much awareness about these. No single point to find out information about these certification.
  • Many of us confuse between the UML and OOAD certification.
  • One of the reason could also be IBM 486 well known OOAD certification which will be withdrawn coming June.Rational OOAD uml certification course on Rational site is very breif...no standard material available.


  • I dont know also how much ceritification will be valued by the prospective employer.But i will say this is much needed skill....and definately certification will facilitate learning of it.

    I like to know how much I am correct in my opinion. I think this certification should gain popularity and acceptance.

    Regards
    Gaurav
    Thanks for relieving my aprehension...really nervous about this test...But finally cleared it Studies for last whole month has been actually of true worth....

    Once again Thanks Theodore,Trivikram and all the people on this who helped me and provide me right guidance....U guys are great...Rock the world

    Gaurav
    Hey All,

    I am going to write IBM 486 on coming tuesday...did Larman, Fowler and Mocker/ICE/BALA test ......scored in ICE after first round of study 52% and second round in 5 day 72%........bit aprehensive and anxious as it is more of conceptual exam abd mock scres are not good..... need some last moment advice for revising before Final day.


    Thanks
    Gaurav
    Feeling really disgusted a set back in life but will surely fight back for it. My prometric result says failed....will surely give it again with better preparation. Congatulation to all those who made it.


    Gaurav
    Hi

    where in prometric website we can see the status what will be login username and password...

    Gaurav
    One curiousity.....why cert manager does not reflect any thing about SCBCD beta test....Cert manager does not have any record of SCBCD beta test taken.... it will be shown only when we clear it
    I came across a following question bparanj quiz for IBM 486

    For showing scenarios, which one of the following OOAD artifacts is the MOST useful?


    Interaction Diagrams
    Activity Diagrams
    Use Cases
    State Diagrams
    Class Diagrams

    This question has 1 correct answer.

    Reference: Larman, p47 Ans is Use Cases

    But on page 8

    Larman says that use cases are not an object oriented artifact




    Please clarify..
    I have started preparing for IBM 486 from Larman. I will be taking the exam on 20 feb can somebody advice me other material except UML distilled which i will be reading next.

    I need some guidance on the method of preparation and how tough the exam is?? becoz have less time to go for it and completely new to it....
    Mikalai notes state that

    The deployment descriptor may be used to augment the interceptors and interceptor methods defined by means of annotations. When the deployment descriptor is used to augment the interceptors specified in annotations, the interceptor methods specified in the deployment descriptor
    will be invoked after those specified in annotations.



    Whereas EJB simplified sates that

    Although it is not anticipated as a typical use case, it is possible for the application developer to combine the use of metadata annotations and deployment descriptors in the design of an application. When such a combination is used, the rules for the use of deployment descriptors as an overriding mechanism apply.



    Is there some exceptional condition for callback method plese clarify.
    Hi All,

    I have no hands on experience on EJB 3.0 or EJB 2.0. I will be giving SCBCD5.0 Beta exam on 2 jan. I know it will be tough but want to give my best shot.

    I have gone through 8 chanpter of mastering EJB.Currently going through O'reilly and last 3 days before exam for to revise with Mikalai Zaikin notes.

    I like you all to please suggest me preparation methods based on your own experiences. Shall i focus on something more or am i missing something which can be looked on.
    Hey,
    If by default interfaces which are implemented are local.

    If i implement more than one interface why i explicitly need to define business interface using @Remote or @Local annotation. All by default should be considered as local business interface.
    Hello frends,

    I came across a point in EJB specification which states that

    � A bean class is permitted to have more than one interface. If a bean class has more than one interface�excluding the interfaces listed below�any business interface of the bean class must be explicitly designated as a business interface of the bean by means of the Local or Remote
    annotation on the bean class or interface or by means of the deployment descriptor.

    But I want to understand one thing:

    I have 3 interface for helloWorld bean assume hello1,hello2,hello3.

    So I will write the bean as either


    is this program compile

    Then what are the remote and Local interface

    According to my understanding it should be

    Remote hello1 and hello2
    Local hello3 by default.

    Please tell me am i correct.
    and if the above program is changed as



    then the local interfaces are hello1, hello2,hello3. But the above statement says If a bean class has more than one interface�excluding the interfaces listed below�any business interface of the bean class must be explicitly designated as a business interface of the bean by means of the Local or Remote annotation on the bean class or interface or by means of the deployment descriptor. there is contradiction here by default the interface are local or to explicitly mark them as Local or remote