Search:

Type: Posts; User: SmokyBrain

Search: Search took 0.13 seconds.

  1. [SOLVED] Re: Got different result from (Eclipse VS NetBean)

    Make the answer the same. 3,3 or 4,4 !!!!!!
    3,4 cause confusion for the DEFINITION of public and private.

    "Sorry Sir, public vs. private, 1M is deducted from your saving account."
    "Good news...
  2. [SOLVED] Re: Got different result from (Eclipse VS NetBean)

    Thank you for your reply:

    Yup, exactly the same code.
    To confirm this, I purposely created the same class again and copy/paste the code from here.
    Both Eclipse and NetBean again gave the same...
  3. [SOLVED] Got different result from (Eclipse VS NetBean)

    Eclipse result:
    3
    3

    NetBean result:
    3
    4

    Command line result:
    3
  4. Replies
    1
    Views
    471

    Re: java wcf nodelist types

    Correct me if I am wrong: You should getting an IllegalArgumentException.
    1. Think of this, when i=0, what string will you get from xPath.evaluate("StartDate", nodes.item(i))? And, what will you get...
  5. [SOLVED] Re: Adding the "final" keyword makes difference, I'm confused with the sequence flow.

    Thank you copeg,

    By removing the final from the line "private final int num = 10;", the program tends to have "making forward references" problem.
    Child constructor -> Parent constructor -> ...
  6. [SOLVED] [Solved] Adding the "final" keyword confused me on the sequence flow.

    Codes:


    class Parent {
    protected int value = 1 ;
    Parent() {
    value = getNum();
    }
    public int getNum(){
    return 5;
Results 1 to 6 of 6