Question: y Here are the DBA Questions. Please do your work on paper. Take a picture of your solutions and text it to me at 5179939615!
y Here are the DBA Questions. Please do your work on paper. Take a picture of your solutions and text it to me at 5179939615! 1, Write the java code for: if the count is greater than 5, print "You Win!!"? 2. What are the two equality operators? What are the four relational operators? 3. Assume you are given String str="Computer Science"; What is output by the statement System.out.println(str.indexOf("e")); 4. Assume you are given String str="Computer Science"; What is output by the statement System.out.println(str.indexOf("z")); 5. Assume you are given String str="Computer Science"; What is output by the statement System.out.println(str.substring(7)); 6. Assume you are given String str="Computer Science"; What is output by the statement System.out.println(str.substring(5,10)); 7. Write the command to create a Scanner called scan. 8. Use the Scanner scan to create one line of code that collects a person's first and last name and assigns it to the String variable names. 9.Use the Scanner scan to create one line
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
