CodeGym/Help with Java Tasks/the keyboard. But am getting an error saying I got input ...Kelvin Level 14Lagos01.02.20191740views4commentsthe keyboard. But am getting an error saying I got input from keyboard Question about the task Creating a cat Java Syntax, Level 5, Lesson 5 Under discussion I created my Cat class without getting input from ConditionsClass treeCreate a Cat class. A cat must have a String name, int age, int weight, and int strength. Requirements:The program must not read data from the keyboard.The Cat class must have a String variable name.The Cat class must have an int variable age.The Cat class must have an int variable weight.The Cat class must have an int variable strength.There must be 4 variables in the class.Cat.java 1 Cat.java package com.codegym.task.task05.task0501; /* Creating a cat */ public class Cat{ String name; int age; int weight; int strength; } 0 Comments (4)PopularNewOld You must be signed in to leave a comment Itgelsaikhan Enkhtur Level 7 , Ulaanbaatar, Mongolia20 January 2020, 02:05There is no main method. Write it after declarations. 0 Bhaskar Level 7 , Mumbai, India1 July 2019, 14:50Write main method after the variables 0 Vatsal Patel Level 15 , Naperville, United States7 February 2019, 22:31You need to reset the task. 0 Guadalupe Gagnon Level 37 , Tampa, United States1 February 2019, 17:04Try resetting the task and re-writing it. If this does not solve the issue then the task verification may be bugged for this task. If that is the case, let CodeGym know and then skip it until they fix it, may be a couple weeks. 0