Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 26 Not yet answered Marked out of 3.00 What is the output of the following code: String s=Petra University: Flag question System.out.println(s.length(); Choose.. System.out.println(s.toUpperCase().indexOf(t));

image text in transcribed
image text in transcribed
Question 26 Not yet answered Marked out of 3.00 What is the output of the following code: String s="Petra University": Flag question System.out.println(s.length(); Choose.. System.out.println(s.toUpperCase().indexOf(t)); Choose... System.out.println(s.indexOf(v.9)); Choose... System.out.println(s.substring(4.9)); Choose... System.out println(s.charAt(9)). Choose System.out.println(s.charAt(s.indexOf(e)); Choose . Question 28 What will be the output of the following Java code? Not yet answered class output Marked out of 1.00 { p Flag question public static void main(String args[l) { char ch; ch = "hello".charAt(1); System.out.println(ch); } } Select one: O a. h be c. 1 O d.o

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional Visual Basic 6 Databases

Authors: Charles Williams

1st Edition

1861002025, 978-1861002020

More Books

Students also viewed these Databases questions

Question

The paleolithic age human life, short write up ?

Answered: 1 week ago