Question about Objects Hierarchy

Hi Guys,
Question :
I am writing an applet let's say Zoo extends JApplet
let's say I have a class Bear that extends Mammal. and Mammal that extends Animal.
Now, I have an ArrayList<animal> cage = new ...
and along the way I am adding Bears to my cage : cage.add(new Bear)...
my question is: how would I write a search loop that returns the Bears from my cage ?
and : how would I write a loop that returns the mammals:
I have tried the following :
for (int k = 0 ; k< cage.size() ; k++) if (cage.get(k) == Mammal) return cage.get(k);
didn't work
also tried :
for (int k = 0 ; k< cage.size() ; k++) if (cage.get(k).getClass == Mammal) return cage.get(k);
and didn't work
any ideas ?
Thanks a lot ... ( and my apologies if my example offends any animal lovers, I am one my self :)

You want to return them all, or just the first one you come to?
To make it simple let's suppose you want to return just the first one. And since you're using Java 5 techniques like Generics, let's clean up your code to use the Java 5 enhanced for loop as well:
for (animal one: cage) {
  if (one instanceof Mammal) { // This was your question, I think
    return one;
}If you have to return them all, then add them to a new List as you find them and return that when you're done going through the cage.

Similar Messages

  • A question about Object Class

    I got a question about Object class in AS3 recently.
    I typed some testing codes as following:
    var cls:Class = Object;
    var cst:* = Object.prototype.constructor;
    trace( cls === cst); // true
    so cls & cst are the same thing ( the Object ).
    var obj:Object = new Object();
    var cst2:* = obj.constructor.constructor;
    var cst3:* = obj.constructor.constructor.c.constructor;
    var cst5:* = Object.prototype.constructoronstructor;
    var cst4:* = Object.prototype.constructor.constructor.constructor;
    var cst6:* = cls.constructor;
    trace(cst2 === cst3 && cst3 === cst4 && cst4 === cst5 && cst5 === cst6); //true
    trace( cst == cst2) // false
    I debugged into these codes and found that cst & cst2 had the same content but not the same object,
    so why cst & cst2 don't point to the same object?
    Also, I can create an object by
    " var obj:Object = new cst();"
    but
    " var obj:Object = new cst2();"
    throws an exception said that cst2 is not a constructor.
    Anyone can help? many thanks!

    I used "describeType" and found that "cst2" is actually "Class" class.
    So,
    trace(cst2 === Class); // true
    That's what I want to know, Thank you.

  • Question about loading hierarchy

    Hello expert,
           I have some question about hierarchy loading:
             (1) hierarchy DS are all for BW3.X? does it need DTP for this loading ?
             (2) in Process chain,  "DTP process" or "saving hierarchy process"  are all needed in PC ? or just one of them is needed?
    Many Thanks,

    You do not need DTP to load hierarchy.
    In the PC, you need to add the info package and after that attribute change run to load the hierarchy fron hierarchy DS.
    Regards,
    Gaurav

  • A question about objects and queries

    I just started using COM objects in ColdFusion. I am mostly
    using CreateObject, but occasionaly use <CFOBJECT>
    My question is; Do I have to destroy these object variables
    when I am done? I know in a lot of other languages I work in, you
    have to "clean up'" after yourself and destroy some variables when
    you are done to avoid memory leaks. How does CF handle this?
    While I am asking, what about queries? Do hey have to be
    destroyed as well? What about queries made with QueryNew?
    Thank you for the help.

    Cold fusion cleans up for you.
    You do not need to explicitly destroy anything unless threads
    are spawned in a non standard way by Java or C code that you are
    using.

  • Questions about Objects, pointers, and the memory that loves them

    Hey,
    This is all just a theoretical discussion so do understand that the code itself is not germane to the topic.
    I have been mulling over the whole object release/retain/copy thing and need to understand a bit more the real inner workings of the beast. The catalyst for this is the repetitional fervor that most books on the subject of Objective C have employed. Yet they all seem to fail in a complete explanation of the whys and wherefores so that one can determine on her own the correct implementation of this.
    Let's say I have an Object. For the fun of it it is an instance of NSObject and we'll call it myObject.
    When I "create" this object thusly:
    NSObject *myObject = [[NSObject alloc] init];
    What I, in fact get back is a pointer to the object in question, yes?
    So when I "seemingly" add this object to an array like:
    NSArray *myArray = [[NSArray alloc] initWithObject:myObject];
    What is actually placed in the array? is it another pointer to the original object created by myObject or is it a pointer to the pointer of myObject?
    The reason I ask this is because I have run into a situation where some previous instructions on the subject have caused errors. I was told that if I did something like this and then passed the array to a calling method that I could release this array and it would then be the responsibility of the calling method to handle the memory. Further more if I place an object into an array and then copy it into another object of the same type as the original then I could release the array and still have the reference to the first object in the second object. When I have done this I get unpredictable results, sometimes the original object is there and sometimes it isn't
    At what point should I release the array, after it is passed to the calling method (with the use of an autorelease) or when the class that it is encapsulated in is done?
    Sorry about the length of this but I can't believe that I would be the only one that would be helped by such a discussion.
    MM

    etresoft,
    Thanks for the detailed reply. I wish I could say that I wasn't still a bit confused by this. I thought I had this down after going through the lessons. It seems to not be working in practice the way that it works in theory.
    My current project is an example
    In a class I have declared a couple of ivars thusly:
    NSMutableString *source;
    NSMutableString *destination;
    @property (nonatomic, retain) NSMutableString *source;
    @property (nonatomic, retain) NSMutableString *destination;
    This is followed by the appropriate @synthesize directives.
    in the init method for my class I have the following:
    source = [[NSMutableString alloc] initWithString:@"customer"];
    destination = [[NSMutableString alloc] initWithString:@"home"];
    in a method triggered by a button click I have the following:
    if (sender == sourcePop){
    source = [sourcePop titleOfSelectedItem];
    }else{
    destination = [destinationPop titleOfSelectedItem];
    NSLog(@"SOURCE-%@", source);
    NSLog(@"DESTINATION-%@", destination);
    When I run the code and change the source selection the console reads the correct value for what is in the source popupbutton and "home" for the destination. If I then change the destination popupbutton I get a crash and nothing written to the console.
    Placing a breakpoint at the beginning of the "if" and running shows me that just before the crash the source ivar is reported as "out of scope." There are no release or autorelease statements for this ivar anywhere in the class. Yet if I change the line that sets the ivar to the value of the popupbutton to this:
    [source = [sourcePop titleOfSelectedItem] retain];
    The debugger will have the correct value for the ivar and when run normally there is no crash.
    I would assume that the problem is that the ivar is being released but I am not the one releasing it. Why does this behavior happen? Shouldn't the retain count still be 1 since the @property directive has it and there is no release in the code? Or is it that the statement that sets the ivar to the value of the popup really just setting it to the pointer and it is the popup that is somehow being released?
    Is there something else that I should be doing?
    MM

  • Questions about keyword hierarchy

    I'm in the process of designing and building a keyword hierarchy for LR3.5, and I'm at a loss to understand a couple of things.
    In the process of deciding how to build this, I've looked at a number of hierarchies people have posted to the web. One thing I've noted is that people sometimes have the same word in multiple hierarchies, and sometimes the same word as both a regular entry and as a synonym.  For example:
    Architecture
          Building
              Church
                      {Cathedral}
              Cathedral
              Skyscraper.....
    Cities
          Building
          Cathedral....
    So what happens if I use the keyword building?
    I *think* what will happen is that LR gives me a choice of selecting Building>Architecture OR Building>Cities.  Is that correct?   Is there a way to get Building, Cities AND Architecture? What happens if I select Cities?  Do I get ONLY cities, and none of the lower level keywords?
    And I'm at a total loss about synonyms. If, while applying keywords to an image, I select the synonym {Cathedral}, under Architecture, what keyword(s) get assigned to the image?  What if I select Church?  And what if I select Cathedral under Cities?
    Many thanks.

    Thanks web-weaver.
    I posted basically the same question in a couple of other places, and got conflicting answers. And the information I found on web searches tended to explain HOW to set up a hierarchy, but not how it really worked, and information on synonyms is especially limited, and often conflicting. So I did some tests.  So as to not use any words that were already in my keyword list, I built a simple hierarchy of words not currently in use:
    Colors       
        Blue   
            {Cyan}
            {Azure}
        Red   
            Pink
                            Salmon
            Rose
        Green   
            {BRG}
            {Emerald}
        Cyan  
        Orange
    Fruit
        Orange
        Apple
    (I actually had a couple of other trees, but this is enough to demonstrate how they actually work.)   
    And it turns out synonyms don't work quite like I expected them to, and are, honestly, so limited I question their value.
    Test1:  Tag a photo with the keyword Cyan. Only Cyan gets applied to the metadata, not any of the words associated with it (Blue, Colors, Azure). Searching, I can find the image by searching on Cyan, or Colors. But NOT by searching on Blue.
    Test2: Tag a photo with the keyword Blue. Only Blue gets applied to the metadata, not Cyan, or Azure. When searching, I can find it by searching on Blue, or any of it's synonyms (Cyan, Azure), or Colors.
    (I had expected synonyms to work the other way, I think. So that if I searched on Blue I'd get all images tagged with Blue, but also those tagged with Azure and Cyan. )
    Test3:  Tag one photo with Cyan, and another with Blue. Searching with Cyan gets me both images, as does searching with Colors. Searching on Blue gets me only the image tagged with Blue.
    Test 4: Tag a photo with the word Colors (and nothing else). I find it by searching ONLY on colors, not Blue, Cyan, or Azure.
    Test 5:  Tag a photo with the word Red (and nothing else). I find it by searching on Red, or Colors, but not Pink or Rose.
    Test 6:  Tag a photo with the word Pink (and nothing else). I find it by searching on Pink, Red or Colors, but not Salmon.
    Test 7: Tag one photo with Orange->Color, and a second image with Orange->Fruit (this nomenclature seems backwards to me, btw.  It's really Fruit-Orange and Color-Orange, but whatever...) Searching on Orange finds both images. Searching on Color finds only one, searching on Fruit finds only the other.
    Synonyms affect only search, and not tagging (assignment). Searching on a term that is a synonym will find images tagged with the main word. (e.g., search on Azure and you'll find Blue, but not Colors). 
    On another site someone replied that when you search you'll find "any image which bears that keyword or any keyword BELOW it in the hierarchy." That's backwards, at least as I understand the word "above.". You'll actually find images using the keyword, it's alias, or any word ABOVE it in the hierarchy. So if an image is tagged with Red, you can find it by searching on Red or Colors, but not Pink. If the image is tagged with pink, you can find it with Colors, Red or Pink, but not Salmon.
    The worst limitation of using synonyms is that when you're tagging an image, LR3 isn't smart enough to know the synonyms exist. So if I tag an image with the word Azure, LR3 doesn't substitute Blue, or use the synonym where it already exists in the hierarchy.  Instead, creates a new, top level entry named Azure, not tied in any way to the alias or the "Colors" tree. 
    It seems like it would be useful to be able to enter Blue as a search term and find any images tagged with Azure and Cyan. Or enter Red as a search term and find Pink and Rose, too. The way it's implemented now forces you to enter the term you're most likely to use (Blue, for example) at the bottom of the hierarchy, and the least used words above. Or to use synonyms, and hope you never get confused an enter a synonym as a keyword instead of the word it refers to.
    It seems to me it's more useful to just use Azure as another keyword beneath (or maybe above) Blue in the hierarchy. At least that way if I tag an image with Azure, I'm not creating a new entry in the Keyword list. I'm not sure I see much value in synonyms as they're currently implemented, but if someone has some examples of how synonyms benefit them I'd be delighted to see them.
    Hopefully this information will be of use to someone.

  • Javascript question about objects

    Hi,
    Let's say I've created a new object. One of the properties of my object
    is an array. I would like another property to return the length of that
    array. How do I do this.
    For instance here's some code (and I hope that the email interface
    doesn't screw this up so badly to make it unreadable. I'm going to avoid
    using square brackets as well by using round ones instead even though
    it's a syntax error, since square ones are known not to work with email.)
    function test(){
         this.a = new Array();
         this.b = this.a.length;
    x = new test();
    x.a(0) = 3;
    x.a(1) = 3;
    x.b;
    Returns 0. In other words, just setting this.b = this.a.length doesn't
    not get updated automatically as this.a is added to.
    Now, I tried turning this.b into a method (ie this.b = function(){return
    this.a.length)  and that works, but then to get the length I keep having
    to refer to myObject.b().
    How can I avoid that? How can I have a built-in length property for an
    object.
    Hope this is clear and has come out legibly via email. Apologies in
    advance if it hasn't.
    Thanks,
    Ariel

    Hi all,
    1) About the original question—which doesn't regard prototype inheritance in itself: "How can I have a built-in length property for an object"—I think the most obvious approach is to directly use an Array as the base object. Since any Array is an Object you can append methods and properties to it while keeping benefit from the whole array's API:
    var myData = [];
    myData.myProp = 'foo';
    myData.myMeth = function(){ return [this.myProp, this.length, this.join('|')]; };
    // Usage
    myData[0] = 10;
    myData[1] = 20;
    alert( myData.myMeth() ); // => foo,2,10|20
    // etc.
    2) Now, if for whatever reason you cannot use the previous technique or need to deal with a precustomized Object structure such as:
    var myObj = {
        items: [],
        meth: function(){ alert("Hello World!"); },
        // etc.
    then the challenge is more difficult for the reasons that Jeff mentioned above. You can anyway mimic a kind of 'binding' mechanism this way:
    // The original obj
    var myObj = {
        items: [],
        meth: function(){ alert("Hello World!"); }
    // Adding length as a 'fake property' (getter and setter)
    (myObj.length = function F(n)
        if( !F.root )
            (F.root=this).watch('length', function(_,ov,nv){ F(nv); return ov; });
            F.valueOf = function(){ return F().valueOf(); };
            F.toString = function(){ return F().toString(); };
        if( 'undefined' == typeof n )
            n = F.root.items.length >>> 0;
        else
            F.root.items.length = n;
        return n;
    }).call(myObj);
    // Usage
    myObj.meth(); // => Hello World!
    myObj.items[0] = 10;
    myObj.items[1] = 20;
    alert( myObj.length ); // => 2
    var x = myObj.length-1; // works too, thanks to F.valueOf
    alert( x ); // => 1
    myObj.length = 5; // testing the setter
    alert( myObj.length ); // => 5
    alert( myObj.items ); // => 10,20,,,
    Of course it's totally unreasonable to implement such an artillery just for the convenience of writing myObj.length instead of myObj.length()—and myObj.length=x instead of myObj.length(x)—so I only suggest this for the sake of experimentation.
    @+
    Marc

  • Question about Object Oriented Design in Oracle

    Hi everyone,
    Right now I'm updating my oracle skills, years ago without programming (last time with Oracle 7.3 :O)
    Well, if I have to design a new system with this features:
    1.- Using Oracle as DB
    2.- Web enable
    3.- OO Design
    My questions:
    1.- What is the best practice to make database design? E-R + Object Types? I mean is better making the design on Oracle directly or in Java-UML environment?
    2.- I was thinking in programming with Forms, but it works well with OO design?
    3.- If I want to program some web services based, Could I do it with PL/SQL and Jdeveloper?
    please if you know about articles and whitepapers about OO design approach with Oracle let me know!
    Thanks.

    I have been involved in some of these projects that have used Java, C#, VB, C++ etc. as front-end languagaes. I have been able to implement these projects successfully using the following approach:
    1. create a relational model of the database - third-normal form (assuming it is an OLTP application)
    2. Write PL/SQL code (packages and procedures mainly)
    3. Interact with the front-end layer by sending and receiving ref curosors and/or PL/SQL tables
    If you want to use Forms (I am assuming Oracle Forms) then there may not be much need for an OO design. Embeeding SQL in the forms will do most of what you want.
    Shakti
    http://www.impact-sol.com
    Developers of Guggi Oracle - Tool for DBAs and Developers

  • Question about object retention and scope

    I have a hole in my understanding of Cocoa.
    I can create temp objects, to populate an array with, like this:
    for(int i=0;i<10;i++)
    myObject *tmpObj= [[[myObject alloc] init]] ;
    [[myMutableArray addObject:tmpObj]];
    [[tmpObj release]];
    But I don't understand why this works. If the tmpObjects get released, then why don't the ones in the array get released? (I can access the array later, and it is populated with myObjects.)

    If you create an object from scratch (alloc, etc) then it's up to you to release it.
    If you get an object from another method of the system you don't have to worry about releasing it. More than likely it's set to auto-release but it's not your responsibility.
    If you want to hold on to any object then you retain it if you didn't create it. Any object you've retained you're responsible for releasing.
    If you pass an object before releasing it's up to that object to hold on to it if it needs it.
    Links:
    http://www.stepwise.com/Articles/Technical/2001-03-11.01.html
    http://developer.apple.com/documentation/Cocoa/Conceptual/MemoryMgmt/Tasks/Memor yManagementRules.html
    Article on leaks
    http://www.cimgf.com/2008/04/02/cocoa-tutorial-fixing-memory-leaks-with-instrume nts/

  • Question about objects

    Hi
    I make a number of objects, they are all from the same class but have differing values.
    I put the objects into different arrays
    I put all the objects in a hash table so that i can associate the object with a string.
    tempOb = create.make()
    compFd= tempOb; //
    tempStr = compFd[i].returnTextValue();
    theRef.put(tempStr, tempCard);
    My question is where do the objects actually exist - and where are they only a reference to the object ? I ask because i am thinking that maybe its uneccsary to make arrays for objects when i could simply have string arrays and use the string to take the object from the hash table.
    Thanks

    Hi
    I make a number of objects, they are all from the same
    class but have differing values.
    I put the objects into different arrays
    I put all the objects in a hash table so that i can
    associate the object with a string.
    tempOb = create.make()
    compFd= tempOb; //
    tempStr = compFd[i].returnTextValue();
    theRef.put(tempStr, tempCard);
    My question is where do the objects actually exist -
    and where are they only a reference to the object ? I
    ask because i am thinking that maybe its uneccsary to
    make arrays for objects when i could simply have
    string arrays and use the string to take the object
    from the hash table.
    Thanks
    FIrst of all you need to revisit what an object is?
    An object is a self-contained entity which has its own private collection of properties (ie data) and methods (ie. operations) that encapsulate functionality into a reusable and dynamically loaded structure. After a class definition has been created as a prototype, it can be used as a template for creating new classes that add functionality. Objects are programing units of a particular class. Dynamic loading implies that applications can request new objects of a particular class to be supplied on an 'as needed' basis. Objects provide the extremely useful benefit of reusable code that minimizes development time. As far as the storage is concerned and all object variables are references.

  • Easy question about objects

    why with this code;
    private Scanner x;
    public void openfile(){
    try {
    x = new Scanner(new File(chinese.txt));
    why do you say x is a variable at private scanner x and then make x an object? why do both variable and object? the code is from http://www.youtube.com/watch?v=3RNYUKxAgmw
    Edited by: 980099 on Jan 19, 2013 4:30 PM
    Edited by: 980099 on Jan 19, 2013 4:38 PM
    Edited by: 980099 on Jan 19, 2013 4:42 PM

    why do you say x is a variable at private scanner xThe code doesn't actually say it's a variable, but it is. It is a reference of type Scanner. As it isn't initialized in the declaration, its initial value is null.
    and then make x an object? It doesn't. it creates a new Scanner instance and then assigns the reference to 'x'.
    why do both variable and object?You should now be able to see that the question is meaningless.

  • A question about Object Manager

    Hello, a question set the server with the installation wizard, select all ObjMgr of application, but I have none running on the server, only the following:
    srvrmgr> comp list for server SERVER
    CC_ALIAS SV_NAME CC_NAME CT_ALIAS
       CC_RUNMODE CG_ALIAS CP_DISP_RUN_STATE CP_STARTMODE CP_NUM_RUN_TASKS CP
    CP_ACTV_MTS_PROCS MAXTASKS CP_MAX_MTS_PROCS CP_START_TIME CP_END_TIM
    E CC_INCARN_NO CC_DESC_TEXT
    SERVER FSMSrvr FSMSrvr File System Manager
       Online Auto Batch SystemAux 0 20
                1 1 2012-06-29 16:52:39
    SERVER ServerMgr ServerMgr Server Manager
       Interactive System Running Auto January 20
                                                     2012-06-29 16:52:34
    SRBroker SERVER Server Request Broker ReqBroker
       Interactive System Running Auto July 10
    0 1 1 2012-06-29 16:52:34
    Server Request Processor SERVER SRProc SRProc
       Interactive Running Auto SystemAux February 20
                1 1 2012-06-29 16:52:39
    SvrTblCleanup SERVER Server Tables Cleanup BusSvcMgr
       Background Running Auto SystemAux January 1
                                                     2012-06-29 16:52:39
    SvrTaskPersist Server SERVER Task Persistence BusSvcMgr
       Background Running Auto SystemAux January 1
                                                     2012-06-29 16:52:39
    SERVER Siebel Administrator Notification Component AdminNotify AdminNotif
    Auto Online and Batch SystemAux 0 10
                1 1 2012-06-29 16:52:39
    Siebel Connection Broker SCBroker SERVER SCBroker
       Background Running System Auto 1 January
                                                     2012-06-29 16:52:34
    8 rows returned.
    how I can change others?

    Sebastian,
    You can run command below using srvrmgr:
    enable compgrp callcenter
    Callcenter component group has call center Object Manager. You need to restart the Siebel Server after running this command. Check link below for further details:
    http://docs.oracle.com/cd/E14004_01/books/SystAdm/SystAdm_SrvrMgrCLI12.html#wp1004864
    You may need to assign the component group to a specific siebel server.
    Thanks,
    Wilson

  • Basic questions about Objects and variables...

    If I have the following:
    Species theAnimal = new Species();
    Am I right in saying that the object here is 'theAnimal'?.
    If we just wrote it as:
    Species theAnimal
    Then i'm assuming that here 'theAnimal' is the variable name...right?
    I'm just trying to get facts straight when reading.
    Thanks for the help...
    Yash

    At first, theAnimal is pointing to one object, and
    theMammoth is pointing to another?
    In the final line, they're both pointing to the same
    object. Isn't that kind of saying, they're pointing
    to the same memory address/location?Yes.
    They might actually hold the physical memory address of the object, or they might hold some other abstraction that the VM uses to locate the object. In either case, though, they both hold the same value, and you can picture that value as the address of the object.

  • Question about object lock

    Hello everyone,
    I want to know which method owns the lock of a specific object (some of my methods are blocked because they can not achieve the lock of a specific object, and I am wondering which method owns the lock to solve the deadlock issue). Does anyone know how to get the information?
    Thanks in advance,
    George

    Thanks Feamar,
    U should not think of a method as having a lock,
    rather than that u should think of a piece of
    synchronized code to have the lock on an object.
    U should try and find nested synchronization
    statements in your code, those are risky and can lead
    to deadlocks.
    Good luckYour reply is very helpful. What means "nested synchronization statement" in your reply?
    regards,
    George

  • LDAP BC QUESTION ABOUT OBJECT CLASSES

    Hi
    i am working with a bpel and its ldap-bc, when i create an entry in my ldap through the bpel it has all the object classes from the attributes i set. for example if i set cn and sn attributes then my entry has the object class person; i want to know if there is any way of setting object classes to my entry on the ldap, even if i am not setting any attributes; for example if i only set the cn and sn attributes using the bpel, i still can tell the entry that it can has another objectclass like iplanet-am-user-service with out setting any of its attributes.
    thanks for your help

    Actually, I'm not getting duplicate objects, but I like to get rid of
    doubles in one particular column.
    For example if I had a table as follows:
    Table DESC
    int pkid
    String description
    description can contain duplicate entries, I want to query as follows:
    select distinct description from DESC
    How could I write a query which retrieves all tuples in a table, but removes
    duplicate from a specific column?
    Thanks.
    Andreas.
    Abe White wrote:
    How does the engine use DISTINCT automatically?It detects whether joins are made such that duplicate rows might be
    returned from the JDOQL filter, and if so adds a DISTINCT.
    What I basically want to do is to remove any doubles I get from the
    query. When I turn logging on to see the sql statement, I only get a
    SELECT without the DISTINCT keyword.You shouldn't be getting doubles. If you are, could you please post the
    offending JDOQL filter and give some description of the schema and/or
    object model? There is a bug in Kodo in which some queries involving OR
    clauses and joins are not made DISTINCT when they should be, but it has
    been resolved for our upcoming 2.5 release.
    Is there also a way I can specify GROUP BY?No, JDOQL does not have an equivalent to GROUP BY.

Maybe you are looking for

  • Help needed in displaying rows in table

    hi gurus, i have created a table and using select statement i was able to retrieve the data.the problem iam facing is ..when i run the application and give a value for a field and clicked on the button i was able to see only one record in the web dyn

  • SQl 2008 R2 Failover Cluster does not failover after fresh install

    I have installed a two node SQL Server 2008 R2 cluster. I used a Named Instance and the SQL Server and SQL Server Agent cluster resources are online on node 1. When I want to move the SQL Server group to node 2, the SQL Server resource fails to start

  • Photoshop CS3 and Photoshop Elements 7

    I have my Adobe Photoshop CS3 and then i install the trial version of Photoshop Elements 7.0. Is this possible and allowed? Then i decide to uninstall the trial version of PSE7. And some of the logo of PSCS3 are already not supported anymore. I was a

  • Excel 2013 X-Y axes switch

    My Excel 2013 version does not allow me to switch X and Y axes on a line chart. And I do not mean switching Rows/Columns. My old laptop with Excel 2007 allowed switching X-Y axes by editing the Data Series. My 2013 Excel version's Edit only has Serie

  • Logic Abap

    Please correct the logic on this TABLES : RSREQICODS. DATA: SUBRC LIKE SY-SUBRC,       RETURNCODE(1) TYPE C,       count. Types: BEGIN OF WT_RSREQICODS,         TABNAME LIKE RSREQICODS-TABNAME,         RNR LIKE RSREQICODS-RNR,       END OF WT_RSREQIC