• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Please help me.

 
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have some doubts regarding the real exam please help me.
1)If we get a q like write the name of the mwthod which schedules the thread or something like that. Then should we write start() or start or start();
2)Do we have include semicolon at the end of the code.For ex
How do you assign 0x30a0 to a char variable c.
Then should we write char c = '\u30a0'; or just '\u30a0'.
3)If they ask us how do you declare a class and they give something like private,public or whatever then should we include {}.
4)Do we have to include "" when we write something in the text field.
Please clarify asap.
Thanks.
 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

This is a qstn, which most people donot answer when asked.
Maha posted similar (almost same) qstns when he was taking
the exam, but there are not many responses.... http://www.javaranch.com/ubb/Forum24/HTML/001382.html
My 2 cents, would be that the system will be programmed to
accept all the possible choices. Strings with "", class
definitions with {}. Who knows what the other person will
type. So the test program should be designed that way.
Personally, for strings, I would not give the " ". If I am
asked to make a class declarations with the given keywords,
I would not put the {}.
Not sure if this helps, but I thought I will start the
discussion...
I hope others, who took the exam may add.....
Best of luck.
Regds.
- satya
 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sree,
1) If the question gives part of the program, and ask you to fill in a line, then type
start();
It probably tells you not to put any space in between.
If it asks for a method name, type:
start or start() as the case may be. It will tell you preciously what it expects. So you only have to read carefully.
2) Samething. It will most likely tell you how many characters you have to type (6 may be?).
3) Don't worry. Read the question carefully. If it asks for modifiers, you don't need to type the method name, nor {}. Just put a space between the modifiers.
4) 99% of the time you don't type double quotes, unless asked.
Edward
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic