Home / MCQ Bank / Computer
Computer Strings Difficulty: Medium

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 the correct option to test your answer:

More Computer Questions

Consider the following pseudocode for the edge coloring problem of a graph. Which of the following best suits the blank? Start traversing the graph using BFS traversal Pick up any vertex from the graph __________________________ Traverse one its edges Repeat until all the edges of the graph are covered Which of these have highest precedence? In CRC there is no error if the remainder at the receiver is _____. What is the role of the @abstractmethod decorator in Python? What header file is included to use array classes?