All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.
class Outsider{
public class Insider{ }
}
public class TestClass{
public static void main(String[] args){
Outsider os = new Outsider();
// 1 insert line here
}
}
Actually, it is in connection with option 3, which is, "Outsider.Insider in = os.new Insider();" and the comment for this option "Since Insider is not a static class, it must have an associated outer class instance."
Option 4 replaces the variable os with class name Outsider, so the comment is talking about why replacing os with Outsider will not help.
If you like our products and services, please help us by posting your review here.