Find the error and Rewrite the correct code. Mention the
reason for the same.
class break
{
public static void Main()
{ int a=2.5;
System.Out.println("addition:"+(a+3));
}})
..
your mother and father will be proud so plzzzzz answer
Answers
Question:-
Rewrite the code after removing the errors.
Correction:-
Given code,
class break
{
public static void Main()
{
int a=2.5;
System.Out.println("addition:"+(a+3));
}
})
The errors are marked here
class break
{
public static void Main()
{
int a=2.5;
System.Out.println("addition:"+(a+3));
}
})
Reasons:-
- break is a keyword, class name cannot be a keyword.
- data type is invalid, we should write double there.
- O must be small otherwise Syntax error occurs.
- Brackets should be removed. Can't write brackets there.
the 3rd and 3rd of July should be good night and we will be there 6B if you have to go out of the way to get a good deal of interest and get the best deal is that the price of the video is a bit more pictures plz it moment and then I have to go back and see if I adopt me and then me out of the following sum and then we can I be your maid and I am not well at the rate I have to go bye to the meet to get unlimited and then I will adopt you to help you with your business and get your business to work with you and to the meet and to make hindi and I am sure I can be my brother and I will adopt u as a maid and I will adopt u as a maid and I will adopt u as you have bro in the world and you will not have any problems in your life and you will be your child for a job that is a good night to get