Question: 49)Write Java code to Declare another Integer variable called remainder . Use Module Operator to divide Number1 by 2 and store result in remainder variable.
49)Write Java code to Declare another Integer variable called remainder. Use Module Operator to divide Number1 by 2 and store result in remainder variable.
54) What is the Assignment Operator = ( 1 = sign) used for, give examples?
55)What is the Equality Operator = ( 2 == sign) used for, give examples?
61) Write the Java code to use the String.compareTo() method to compare 2 String names (name1 and name2) and write to output Console the result of comparison.
62) Write the Java code to find the Length of a String called fullName which contains the value George Washington and write to output the length.
String fullName = George Washington;
63)What is the subString() method used for and how it works?
64)Write Java code to Extract the subString George from the String fullName.
65) Write Java code to Extract the subString Washington from String fullName.
68)Write Java code to print out the Minimum Value that a Long Integer Object stores.
69)Write Java code to print out the Maximum Value that a Long Integer Object stores.
70)Write Java code to print out the Minimum Value that a Double Object can store.
71)Write Java code to print out the Maximum Value that a Double Object can store.
72)Write Java code to print out the Minimum Value that a Character Data Type stores
73) Write Java code to print out the Maximum Value that a Character Data Type stores.
74)Write the Java code to display the following Message in a Message Box on the screen.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
