CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2000
    Posts
    20

    Java Programmer Certification Girus Please help

    Hi,

    In java programmers certification they ask us to write some keyword(just like fill in the blanck).
    Now my question is
    1.whether we should enclose our answer in double quotes ex. if answer is abstract
    then it should be like "abstract" or just abstract
    2. If the want us to write method name
    Ex actionPerformed
    Which is the correct answer
    a. actionPerformed()
    b. actionPerformed
    c. "actionPerformed()"

    3. If it is statement then it should end with semicolon, Programs with curley braces
    Ex.
    1.class Hello{ }
    2. class Hello
    3. "class Hell0{}"

    Which one is the write answer. Is there any way i can find out these things?

    Gurus please let me know.
    Thanks in advance



  2. #2
    Join Date
    Mar 2000
    Location
    Dublin, Ireland
    Posts
    124

    Re: Java Programmer Certification Girus Please help

    Maria4,

    Quick answers to those questions:
    1) Almost every character(including double quotes) have a specific meaning in Java. So I would stay clear away from any answers that have quotes in them unless the question has something to do with Strings.
    2) Method names are simply a name(without spaces) such as actionPerformed and open and close parentheses straight afterwards. So the answer is actionPerformed(). Again, no double quotes.
    3) The statement is followed by curly brackets, so the answer is class Hello{}.

    These are fundemental to writing in Java and I would strongly recommend that you read(or do) a tutorial on the Java programming language.
    It's fairly straight-forward, but can definitely get hairy at times.

    Hope this helps you out.

    Regards,
    dogBear


  3. #3
    Join Date
    May 2000
    Posts
    1

    Re: Java Programmer Certification Girus Please help

    DEAR MARIA,

    it would have been better if you had made the question more clear.I think i may be able t help then.
    any what i think is
    1.abstract
    2.actionPerformed()
    3.class Hello{ }

    do let me know whether it was useful or not

    good luck
    regards and thanks
    rajiv



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured