Create a free account on Computer Sir Ki Class and unlock access to valuable learning resources.
Exam Paper Downloads: After registering and logging in, you can download exam question papers in PDF format to practice and prepare for your exams.
Student Support: Get assistance with your doubts, queries, and questions related to your studies. Our support is here to help you understand topics and resolve your learning difficulties.
Register today and make your exam preparation easier and more effective!
System.out.print(“BEST”);
System.out.println(“OF LUCK”);
Choose the correct option for the output of the above statements
(i)
BEST OF LUCK
(ii)
BEST
OF LUCK
Answer:
Since the first statement has a print() method and second has a println() method the output would be
BEST OF LUCK
C. Sir| Created: 24-Mar-2018 | Updated: 12-Apr-2019|ICSE2018