1. (TCO 1) A Java source code file must contain(Points : 6) a public class which
ID: 3529042 • Letter: 1
Question
1.(TCO 1) A Java source code file must contain(Points : 6) a public class which matches the name of the file.a class with the main method.
all the public classes needed by the application.
the byte codes for the JVM to execute the file.
2.(TCO 1) What is the default value of an integer variable when it is first declared?(Points : 6) 0
null
garbage
default
3.(TCO 1) How is a static method executed?(Points : 6) By specifying the object name, then a dot, then the method name.
By specifying the method name with any needed parameters.
By specifying the class name, then a dot, then the method name.
All of the above.
4.(TCO 1) What output does the following code generate?
int a = 10;
double d = 123.456;
String s = 1.(TCO 1) A Java source code file must contain(Points : 6) a public class which matches the name of the file.
a class with the main method.
all the public classes needed by the application.
the byte codes for the JVM to execute the file.
Explanation / Answer
impossible to read :(
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.