CodeGym
Promotion
CodeGym University
Learning
Courses
Tasks
Surveys & Quizzes
Games
Help
Schedule
Community
Users
Forum
Chat
Articles
Success stories
Activity
Reviews
Subscriptions
Light theme
Question
  • Reviews
  • About us
Start
Start learning
Start learning now
  • All questions
CodeGym/Help with Java Tasks/How to understand errors?
Shaik Gousiya
Level 2
Mumbai
  • 23.08.2019
  • 1172views
  • 2comments

How to understand errors?

Question about the task Amigo is very smart
Java Syntax,  Level 0,  Lesson 2
Resolved

Write a program that displays: "Amigo is very smart".

Example output:
Amigo is very smart

If you are struggling with the task, press the Hint button.

Requirements:
  • The program should output text.
  • The text should begin with "Amigo".
  • The text should end with "smart".
  • The text should consist of 19 characters, including spaces.
  • The displayed text must match the task conditions.
println("Amigo is very smart""Amigo is very smart")println()println()println()println()println()"Amigo is very smart"StringStrinpackage com.codegym.task.task01.task0142; /* Amigo is very smart */ public class Solution { public static void main(String[] args) { e your code here system.out.println("Amigo is very smart"); } }
0
Comments (2)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
Pavlo Plynko Java Developer at CodeGym
9 September 2019, 08:25
In this case, it is better to reset the task and try to solve it again.
0
Itachi
Level 1 , Seclin, France
24 August 2019, 22:12
The problem here is that you have a lot of println before the main class and it isn't used properly but anyway it wouldn't work either you have to remove that but be carfeul you have to let the package com.codegym. And why do you have so much task task01 ??? What is that ?
0
Learn
  • Registration
  • Java Course
  • Help with Tasks
  • Pricing
  • Java Syntax
Community
  • Users
  • Articles
  • Forum
  • Chat
  • Success Stories
  • Activity
  • Affiliate Program
Company
  • About us
  • Contacts
  • Reviews
  • Press Room
  • CodeGym for EDU
  • FAQ
  • Support
CodeGym CodeGym is an online course for learning Java programming from scratch. This course is a perfect way to master Java for beginners. It contains 1200+ tasks with instant verification and an essential scope of Java fundamentals theory. To help you succeed in education, we’ve implemented a set of motivational features: quizzes, coding projects, content about efficient learning, and a Java developer’s career.
Follow us
Interface language
English
Deutsch Español हिन्दी Français Português Polski বাংলা 简体中文 मराठी தமிழ் Italiano Bahasa Indonesia 繁體中文 Nederlands 日本語 한국어 Bulgarian Danish Hungarian Basa Jawa Malay Norwegian Romanian Swedish Telugu Thai Українська Filipino Turkish Azərbaycan Русский Vietnamese
Programmers Are Made, Not Born © 2025 CodeGym
MastercardVisa
Programmers Are Made, Not Born © 2025 CodeGym