자바 프로그래밍 언어 퀴즈 - 숫자

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

다음 중 출력 결과가 '6'인 것은?

  • System.out.println("six");
  • System.out.println("6"+"6");
  • System.out.println(6); (correct)
  • System.out.println(6+6);

다음 중 출력 결과가 '66'인 것은?

  • System.out.println(6);
  • System.out.println("six");
  • System.out.println(6+6);
  • System.out.println("6"+"6"); (correct)

다음 중 출력 결과가 'Hello "World"'인 것은?

  • System.out.println("Hello World".length());
  • System.out.println("Hello World");
  • System.out.println("Hello 'World'"); (correct)
  • System.out.println("Hello \nWorld");

다음 중 '6*6'의 출력 결과는 무엇인가요?

<p>36 (D)</p> Signup and view all the answers

다음 중 '1111'.length()의 출력 결과는 무엇인가요?

<p>4 (B)</p> Signup and view all the answers

다음 중 'Hello, [[[name]]] ... bye. '.replace('[[[name]]]', 'duru')의 출력 결과는 무엇인가요?

<p>'Hello, duru ... bye. ' (C)</p> Signup and view all the answers

다음 중 출력 결과가 6인 것은?

<p>System.out.println(6); (D)</p> Signup and view all the answers

다음 중 'Hello World'를 출력하는 방법이 아닌 것은?

<p>System.out.printf(&quot;Hello World&quot;); (A)</p> Signup and view all the answers

다음 중 문자열 '1111'의 길이를 출력하는 방법이 아닌 것은?

<p>System.out.println(1111); (C)</p> Signup and view all the answers

Flashcards are hidden until you start studying

More Like This

Java String Operations Flashcards (Weeks 3-6)
35 questions
Basic String Operations and Functions
33 questions
String Operations and Indexing
39 questions
Use Quizgecko on...
Browser
Browser