Question: help me answer this long question please ill leave a like please! thank you! Which one of the following data types holds the smaller decimal









Which one of the following data types holds the smaller decimal numbers? byte double float long Which one of the following data types holds the smallest integers? byte float int long How many symbols or characters can the 'char' data type hold? 0 1 1 or more thousands Which of the following correctly declares and initializes a boolean variable named is Employed with the value 'true'? boolean isEmployed = "true"; boolean 'true' = isEmployed; boolean isEmployed = true: is Employed boolean = true: Which of the following names follows the naming convention for a 'constant' variable that should not have its value changed? neverChange \#NoChange CHANGE change me Which of the following lines of code only declares a variable, but does not initialize it? boolean is Ready = true: drama = "high"; int count =47; long worldPopulation; class Main \{ public static void main(String[] args) String name = "Juan"; int count =9; double angle =12.5; System.out.println( ); // \#Print Line \} // In the the code above, the 'Print Line' has empty parentheses. //What should be put inside them to print "9Juan 12.5"? You may use Java to check your answer. "count"+name+anglecount+"name"+anglecount+name+"angle"count+name+angle int taxRate =4.7 What is wrong with the Java line above? An integer variable can not hold a decimal value. An integer variable cannot have a name with any capital letters. An integer variable name must be all capital letters. Nothing is wrong with the statement. import java.io."; import java.util.*; class Main [ public static void main(String[] args) \{ Scanner kbReader = new Scanner(System.in); System.out.println("Enter your NAME then press Return"); //\#Request Line int name = kbReader.nextInt(); //\#Input Line System.out.println("Hello," + name); \} // Look at the code above, specifically at the \#Request Line and the \#input Line. I/What is wrong with the interaction between these two lines? // You may use Java to check your answer. On the \#Input Line, the word 'int' should be capitalized. On the \#Request Line, there should not be any quotes The \#Request Line asks for a word, but the \#Input Line tries to read in a number The \#Request Line asks for a number, but the \#input Line tries to read in a word. Which one of the following is a 'reference' data type. boolean byte char String
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
