rita Singh
rita Singh
8 years ago

package pkg1;interface A{
void method1();
}

A. method1 not visible outside package pkg1

B. method1 visible outside package pkg1

C. Compilation error:Public is missing

D. Compilation error:Invalid access specifier


This Question Belongs to User Ask Question >> Miscellaneous

Join The Discussion

Comments ( 6 )

  1. Santosh Jeevanandham
    Santosh Jeevanandham :
    6 years ago

    B is the correct answer.. Sure

  2. Neha Dhade
    Neha Dhade :
    7 years ago

    ans is A

  3. Savitha Savi
    Savitha Savi :
    8 years ago

    ans is A

  4. Ashi Lashkary
    Ashi Lashkary :
    8 years ago

    A. is the correct answer

  5. Mohammed Imran
    Mohammed Imran :
    8 years ago

    B. is this answer right please confirm

  6. Sasanapuri Pruthviraj
    Sasanapuri Pruthviraj :
    8 years ago

    c

Related User Ask Questions