Answer to Question #20631 in Java | JSP | JSF for nohra
If we use a component (i.e., call methods of that component) before instantiating it, then we will generate a ________________ at runtime.
1
2012-12-13T08:16:58-0500
variable <component> might not have beeninitialized
for example:
import java.util.LinkedList;
public class test {
public static void main(String ...args) {
LinkedList bob;
System.out.print(bob.size());
}
}
javac test.java
test.java:8: error: variable bob might not have beeninitialized
System.out.print(bob.size());
^
1 error
Need a fast expert's response?
Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Learn more about our help with Assignments:
JavaJSPJSF
Comments
Leave a comment