Computer Science, asked by vikeshkomre, 5 days ago

class Main{
int num=007;
class Inner{
void msg() {
System.out.println(""data is ""+num);
}
}
public static void main(String args[]) {
Main obj=new Main();
Main. Inner in=obj.new Inner();
in.msg();
}
}

Answers

Answered by Anonymous
0

Answer:

is this a question for computer

I do not understand

Answered by priyeranjan237
0

Answer:

class Main{

int num=007;

class Inner{

void msg() {

System.out.println(""data is ""+num);

}

}

public static void main(String args[]) {

Main obj=new Main();

Main. Inner in=obj.new Inner();

in.msg();

}

}

Explanation:

7

Similar questions