Új hozzászólás Aktív témák

  • Azazello-

    senior tag

    sziasztok,

    vizsgahoz kellene par egyszeru kerdesre megdnom a valaszt, de sajna meg mindig nem megy magamtol. valaki segitene megoldani az alabbi problemakat?

    1,

    String[] myArray = {“Jan”,”Feb”,”Mar”,”Apr”};
    Loop true and print them out:

    ---------------------------

    2,

    • Test for String equality
    String S1 = “One”;
    String S2 = “One”;

    -----------------

    3,

    Storing primitives in an ArrayList
    charValue
    public char charValue()
    - Returns the value of this Character object.
    - Returns: the primitive char value represented by this object.

    ----------------------

    4,

    - Loop over a String

    erre nem tudom, hogy jo e a megoldas...:

    ArrayList=al
    Arrasy=ar

    Al.size();
    Ar.lenght;

    For(int i=0; i< ar.lenght; i++)

    ----------------

    5,

    Write a method to verify if the numbers of a series are in ascending order

    Int[] num = {1,2,6,5};

    Private boolean checkSort(int[] x){

    for(int i=0; i < x.length; i++)

    if(???)

    }

    -----------------------

    6,

    HashMap
    - Add to a HashMap
    - Delete from a HashMap
    - Does it contain a practicular key?

    ------------------------

    ezekre kene a valasz, illetve megoldas. koszonom elore is. :U

Új hozzászólás Aktív témák