Java: common programmers errors

preview_player
Показать описание
this video mention about the common errors that new programmers face in java.

-~-~~-~~~-~~-~-
Please watch: "Computer Graphics: install and setting up dev C++ with GLUT"
-~-~~-~~~-~~-~-
Рекомендации по теме
Комментарии
Автор

I would like to say thank you for showing us the way how to use the youtube channel for educational purpose. This is an incredible and appreciated work you are doing; And it changed my attitude how I should use the youtube channel to facilitate my education.

workubayu
Автор

Answers for the above questions
#1.In the public static void Main(string[] args) there is a capitalization errors so 'M' should be small letter and 's' should be capital letter, so Main(string[] args should be changed ====>>>main(String[] args).
#2.In the public class there is closing brace error there should be closing brace at the end of the
#3.In the System.out.print("Hello") there is a semicolon missing at the end of the statement so there should be semicolon at the
#4.In the String s=kebede"; there is a quotation mark error before the word kebede so the corrected one is ====>>>String s="kebede";
#5.In the Char letter='a'; there is a capitalization error on the data type "Char" so 'C' should be small letter .the corrected one is letter ='a';

workubayu
Автор

answer
#1 Misspelling, ("main") as ("Main") & ("String") as (" string")
#2 Missing of a close brace
#3 Missing of a semicolon
#4 Missing of double qoute
#5 Missing of a semicolon

esosam
Автор

Ans
1) capitalization of String class
2) miss closing quotation mark at "Hello"
3) missing semicolon at the end of statement
4)miss opening quotation mark for asgnment string to the variable S.
5)missing semicolon at the end of statement.

temeyoutube
Автор

Q1 Main change main &string change String misspelling
Q2 ("Hello) change ("Hello") mis quatation mark
Q3 add ; mis semicolon
Q4 Kebede" change "Kebede"mis quatation mark
Q5 add ; mis semicolon

sintemite
Автор

#1 misspelling ==>string "s" should be "S"
#2 missing quotation mark (Hello");==> should be ...("Hello");
#3 missing semicolon at the end of
#4 missing quotation marks ==>String s =kebede"; ==>> should be String s ="kebede";
#5 missing semicolon ==>> char letter='a' ==>> should be char letter='a';

yayalabayneh
Автор

#1 misspelling ==>string "s" should be "S"
#2 missing quotation mark (Hello");==> should be ...("Hello");
#3 missing semicolon at the end of
#4 missing quotation marks ==>String s =kebede"; ==>> should be String s ="kebede";

jonatanjone
Автор

# ans
1, error mising semicolon at ("hello")
2, error mising capitalization in String the first letter s shuold be small letter
3, errror error occur at the end
4, the last mising bras

tewodrosayalneh
Автор

In question #1- two miss spelling "Main" must be written as "main" and "string" should be written as "String."
In question #2- missing quotation marks ("Hello); should be written as ("Hello"); and missing closing brace.
in question #3- missing semicolon.
In question #4-missing quotation marks.

admasufeleke
Автор

Ans for question
2)closing brace and closing quotation mark"Hello "}

temeyoutube
Автор

1, speling error the keyword string is bigens lower case later.public static void main(String args[])
2, cotesion mark
3, semicolon
4, cotetion mark error missing coutetion mark in the left in initialization.string s="kebede";
5, missing semicolon.char letter='a';

desalegnendiru
Автор

error question no 2 quotation mark should at end of ("hello wold");

borutadicha
Автор

4 no 1 error occurs in capitalization of the letter string to String.
4 no 2 error occurs in missing the closing cote and the closing brace.
4 no 3 error occurs in missing semicolon at the end.
4 no 4 error occurs in missing the opening cote.
and 4 the last it also missed semicolon at the end.

abenezerbelete
welcome to shbcf.ru