Sunday, 21 April 2013

Class -2-




/*Q.350) 
public class MyClass1{
public static void main(String argv[]){ }
/*Modifier at XX class MyInner {}
}
What modifiers would be legal at XX in the above code?
1) public 
2) private 
3) static 
4) friend
*/

public class MyClass1{
public static void main(String[] x){}
class MyInner{}

}

No comments:

Post a Comment