What are some questions that would be good to ask a candidate in a phone interview that can measure their OOD knowledge?

asked 17 Jul '12, 03:54

christina's gravatar image

christina
11112
accept rate: 0%

edited 17 Jul '12, 05:10

pedrolima's gravatar image

pedrolima ♦♦
1.1k232840


Hello,

You can ask:

How would you code a class so that can only be one object of that class?

This is known as a 'singleton'.

What does it mean to say that a method is 'static'?

How do you invoke a static method defined in one class in another class?

What access modifier is required? If the invoking class is an extension, what modifier, other that public, can be used?

What is a 'wrapper'' class?

BR

permanent link

answered 17 Jul '12, 04:45

njovianni's gravatar image

njovianni
111
accept rate: 0%

edited 17 Jul '12, 04:52

pedrolima's gravatar image

pedrolima ♦♦
1.1k232840

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×28

question asked: 17 Jul '12, 03:54

question was seen: 4,142 times

last updated: 17 Jul '12, 05:10