Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 21 Not yet answered Maried out of 100 Flag question What will be the output of the following Java program? class String demo {
Question 21 Not yet answered Maried out of 100 Flag question What will be the output of the following Java program? class String demo { public static void main(String args[]) { char chars[] = {'a', 'b', 'c'}; String s = new String(chars); System.out.println(s); } Select one: ob.b . O d. abc
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started