Question: Question 48 Which of the methods below are static methods? I. length II. substring III. pow IV. sart O All the methods are static Only


Question 48 Which of the methods below are static methods? I. length II. substring III. pow IV. sart O All the methods are static Only I, II and III Only II and IV Only III and IV Question 49 Assume the variable str has been declared to be a String that has at least one character. Which is the following represents the last character in stry str.charAt(str.length) str. lastchar str.charAt(str.length() - 1) str.substring(str.length()) Question 50 What term is used to refer to values supplied to a method that are needed to carry out its task? class object argument comment
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
