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[]) { int ascii[] = { 65, 66, 67, 68}; String s = new String(ascii, 1, 3); System.out.println(s); } }

Select the correct option to test your answer:

More Computer Questions

Devices on one network can communicate with devices on another network via a The Network topology that supports bi-directional links between each possible node is The selected design template can be applied The modifier used to hide the base class methods is? The [Serializable()] attributes gets inspected at . . . . . . . .