Java programming questions: 1.What is the full name of the standard Java class t
ID: 3875052 • Letter: J
Question
Java programming questions:
1.What is the full name of the standard Java class that is composed of a number of characters? The instances are immutable. It is used to hold words, sentences, and a single command-line argument.
2.What is the full name of the Java class in the standard library that is used to represent RGB (red-green-blue) color?
3.For a field or method to be used outside of the current class, it must be marked with the public keyword. (true / false)
4.What is the numerical value of the following Java expression: 5 / 2. Include the name of the Java data type of the value.
5.What is the numerical value of the following Java expression: 8 / 2.5. Include the name of the Java data type of the value.
6.What is the numerical value of the following Java expression: 10 % 1.5. Include the name of the Java data type of the value.
7.What is the numerical value of the following Java expression: 0x7F. Include the name of the Java data type of the value.
8.The application method is the one method must appear in every Java application. What is the header for this method?
Explanation / Answer
2)
java.awt.*;
java.awt.color;
3)
true
4)
datatype: integer
result is 2
5)
datatype: float or double
resul is 3.2
6)
datatype is double (because it can be integer or float
result is 1
1)
java.lang.string;
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.