Click To Get Off-Campus Placement Jobs Info !!!

JAVA Programming :: Packages - Discussion

Home > JAVA Programming > Packages > MCQs Questions Discussion

5 / 6

What is the output for the below code?

package bean;
public class Abc {
public static int index_val = 10;
package com;
import static bean.Abindex_val;
public class Test1 {
public static void main(String... args) {


Bcompile error, index_val not defined

CCompile error at import static bean.Abindex_val;

DNone of the above

Answer: Option (Login/Signup)

Show Explanation

Asked In ::

Post Your Answer Here:     

No Discussion on this question yet!