Passage
Public class ExternalTest
{
Public static void main (String[] args)
{
W
class Inner Test
{
public String name; /*Line 7 */
Public InnerTest(String s)
1
name = s; /*Line
10*/
}
}
Object obj = new InnerTest (InnerTest1"); /*Line 13*/
InnerTest t = (InnerTest) obji
System.out println(t.name);
}
}
IL
Answers
Answered by
12
Explanation:
it will print"inner test1"
Similar questions