• 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
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

fill in the blank type of questions

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello everbody
the question i want to ask about fill in the blank type of questions.
for example here is a question:
* what keyword you use to declare a method as abstract method?
<<fill in the blank>>
So in the scjp exam should i write as an answer
abstract or
"abstract"
*what exception might be thrown when you define sleep method for thread?
<<fill in the blank>>
So should i write
InterruptedException or
"InterruptedException"
*variable c assigned refrence,0x30A0 how do you assign etc____?
<<fill in the blank>>
So
c ='\u30A0' or
"c ='\u30A0'"

i mean should i include double quotes in answer.not for just this question but for every fill in the blank type of question i am asking.what about white spaces for this type of questions,what about {} and() for this type of questions.??
hope you understad.thank you.
 
Trailboss
Posts: 24072
IntelliJ IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Leave the quotes out.
I'm going to go out on a limb here and talk about an actual exam question:
One of the questions on the exam runs through a series of string manipulations. Then you are asked to type in what is now contained in a string object. I put quotes around my answer and now I think you are not supposed to put quotes around the answer.
 
Desperado
Posts: 3226
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
DITTO
 
reply
    Bookmark Topic Watch Topic
  • New Topic