Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Вивчайте Challenge: Basic Method Creation | Introduction to Methods
Mastering Methods in Java

bookChallenge: Basic Method Creation

Завдання

Swipe to start coding

Practice creating and calling methods that do not accept any parameters.

  1. Create a public static method named printWelcome that prints the string: Welcome to the Java Methods Challenge!;
  2. Create a public static method named showInstructions that prints the string: Follow the instructions carefully to complete the task.;
  3. Create a public static method named printCompletion that prints the string: Congratulations! You have completed the challenge.

Рішення

Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 1. Розділ 4
single

single

Запитати АІ

expand

Запитати АІ

ChatGPT

Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат

Suggested prompts:

Can you explain this in simpler terms?

What are some examples related to this topic?

Where can I learn more about this?

close

bookChallenge: Basic Method Creation

Свайпніть щоб показати меню

Завдання

Swipe to start coding

Practice creating and calling methods that do not accept any parameters.

  1. Create a public static method named printWelcome that prints the string: Welcome to the Java Methods Challenge!;
  2. Create a public static method named showInstructions that prints the string: Follow the instructions carefully to complete the task.;
  3. Create a public static method named printCompletion that prints the string: Congratulations! You have completed the challenge.

Рішення

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 1. Розділ 4
single

single

some-alt