Beyond Knowing
Ed Tools
Play Quiz
Sign in
Join Sookshmas
Beyond Knowing
Jobs
Ed-Tools
Play Quiz
Manjula
Wall
Questions
e-Notes
Calculations
MCQs
News/Article
1..What is the output of this program?
class String_demo
{
public static void main(String args[])
{
char chars[] = {'a', 'b', 'c'};
String s = new String(chars);
System.out.println(s);
}
}
a) abc
b) a
c) b
d) c
Engineering-IS
Engineering-CS
Engineering - AI ML
Java
Posted on
by
Score
Share
Views
Comment(s)
Please
Login
to post your comment or reply to comment
Recent Question Comments
Recent Questions
Top Scored Questions
Scroll
×
Login to India's fastest growing social media for Self-Learners!
Sign in with Google
OR
Not registered?
Create an account
Forgot Password?
×
Join India's fastest growing social media network for learning and education!
Sign in with Google
OR
Already a registered user?
Login