[b]Comp Sci Question Plz Respond[/b]

<p>**Given the method header</p>

<p>void doSomething(Object param)</p>

<p>which of the following is not a valid call to the method?</p>

<p>a. doSomething("Java")
b. doSomething(new String("Java"))
c. doSomething(14)
d. doSomething(new Integer(14))
e. All are valid calls**</p>

<p>To do this you need to realize what an object is. Examples of an object are a String and a wrapper class Integer. Since the method's parmeter only allows an object, choice c is wrong since an integer is a primitive. Choice D might be misleading, but it is actually a wrapper class integer, meaning it is an object.</p>

<p>Thanks shankar</p>

<p>objects have always confused me</p>