logo

Crowdly

Browser

Add to Chrome

Questions Bank (1399014 total)

A MOA tartalmazza:

0%
0%
0%
0%
0%
View this question

A kisvállalatok két fő üzleti forma közül választhatnak a fogyasztási cikkek és

szolgáltatások piacán: nagyvállalatok termelési tevékenységének részesei, és piaci rés stratégia. 

89%
11%
View this question

Válassza ki a beszállítói hálózatban való részvétel formáit!

56%
67%
44%
56%
View this question

Párosítsa a KKV-k három formáját a megfelelő létszám-kategóriával!

View this question

A fogyasztási cikkek értékesítési csatornájához tartozik a más kisvállalatokkal együttműködve

hálózatban történő értékesítés.

0%
0%
View this question

Párosítsa a pozícionálási hibákat és a  pozícionálási hiba jellemzőit! 

View this question

Tu equipo está

desarrollando un

videojuego de rol

. Se

plantea una clase para la creación de criaturas de diferentes tipos, y la

inicialización de éstas con unos atributos físicos y de comportamiento dados.

Asumiendo clases

Goblin, Ogre, Orc y Troll que heredan de Creature

(abstracta), un compañero te propone la siguiente

implementación:

public class CreatureCreator {

  public

Creature

newCreature(CreatureType type,

     PhysicalAttributes

physicalAttributes,

     BehavioralAttributes

behavioralAttributes) {

        Creature creature = null;

        if

(type.equals(CreatureType.

GOBLIN)) {

           creature = new Goblin();

        } else if

(type.equals(CreatureType.

OGRE)) {

           creature = new Ogre();

        } else if

(type.equals(CreatureType.

ORC)) {

           creature = new Orc();

        } else if (type.equals(CreatureType.TROLL)) {

           creature = new Troll();

       }

       creature.setPhysicalAttributes(physicalAttributes);

       creature.setBehavioralAttributes(behavioralAttributes);

       return creature;

   } // newCreature

}

 

Claramente

ves inconvenientes (¿cuáles?) en la implementación, y le propones seguir el

patrón

Factory Method

. Te entrega el

siguiente código:

public abstract class CreatureCreator {

  public

Creature

newCreature(CreatureType type,

     PhysicalAttributes physicalAttributes,

     BehavioralAttributes

behavioralAttributes) {

        Creature creature = null;

        creature = this.createCreature(type);

        creature.setPhysicalAttributes(physicalAttributes);

        creature.setBehavioralAttributes(behavioralAttributes);

        return creature;

    } // newCreature

    public abstract

Creature

createCreature(CreatureType type);

}

0%
0%
View this question
Що з перелiчених засобiв належить до матеріально-речових елементів основного капіталу?
0%
0%
0%
0%
View this question
Яка функцiя амортизацiї проявляється в тому, що вона може прискорювати чи уповiльнювати темпи формування грошових потокiв, що впливає на темпи вiдтворення основних засобiв?
0%
0%
0%
0%
View this question
Продуктивність праці визначається:
50%
0%
50%
0%
View this question