| Author |
que from voodooexam
|
sanjana narayanan
Ranch Hand
Joined: Nov 25, 2003
Posts: 142
|
|
Hi, Question : Given the following class package org . myPack ; public class Ques01 { // some code }; Which of the following are valid ways of refereing to the class from any other package besides org . myPack ? Options : a . Refer to the class as Ques01 b . Refer to the class as org . myPack . Ques01 c . Refer to the class as myPack . Ques01 d . import org . myPack . * & then refer to the class as Ques01 e . import org . * & then refer to the class as Ques01 My ans was b and d. The given ans are b,c. any explanations would be appreciated -Sanajana
|
 |
Yi Meng
Ranch Hand
Joined: May 07, 2003
Posts: 270
|
|
b d are the answers, you know why, right? just be confident yourself, others people also make mistakes.... [ January 16, 2004: Message edited by: Yi Meng ]
|
Meng Yi
|
 |
 |
|
|
subject: que from voodooexam
|
|
|