Learn Programming in Java - Lesson 07 : JavaDoc and Unit Tests

preview_player
Показать описание
In this lesson we continue our exploration of objects and classes. We'll learn how to use the JavaDoc comment syntax to document our class methods as we implement a class which simulates playing cards. We'll also introduce automated or unit testing - focusing on how it can be used to help you reduce the semantic errors in your code.
Рекомендации по теме
Комментарии
Автор

Wow, simply the one the best and extremely easy to understand. Well Done Michael, and thank you!

_SeaHrse
Автор

With every new episode things get better and better.
Thank you, Mike! You're true hero for us!

realanthonyrich
Автор

I wanted to thank you for putting this together, a lot of hard work. I graduated w a C.S. degree from the University of Washington in 2010, didn't really do any of this for the last few years, and this is great. putting in the debugging exercises, the Java docs info, and unit testing makes this much better - we did almost none of that. great work!

unexpectedTrajectory
Автор

Your videos are so much more informative than my classes at uni, where the lecturer literally just reads straight from the textbook in a drone voice and gets annoyed if you ask questions... Thanks for the videos, Cheers

MissLoveMai
Автор

Dear Sir Fudge your videos are very efficent and clear to understand.Thank you for these videos.

guardrepresenter
Автор

Things are slowly but surely starting to click. I'm getting there, thanks Fudge.

josueluna
Автор

I had to pause the video to take a moment to say this " Just kidding . Love you man you are the best!

zannettos
Автор

Can someone help me please? I can"t seem to get the desired output if I use the Override method. I get the following error : Exception in thread "main" String index out of range: 12
at Source)
at
at

I typed the exact same code as the one in the tutorial.

JohnSmith-rglg
Автор

I dont get unicode to work. Always displayed "?". Any advice where to look?

Thetticuz
Автор

Hi there. Thank you sooo much. i have watched up to this video over the past 3/4 days and ive learned more from them than my class at uni (that ive been in for over a month).


only issue i have is with the testing part of this video. When i use it it says BUILD FAILED (total time: 0 seconds). is there any way around this?

christophermcclure
Автор

I am having real hard time her... I am using eclipse and for past 3 Days I am trying different options so that test methods : TestSameRank, TestSameSuit etc are filled as yours. Are they really autofilled (21:05) or you code them yourself. Becuase in my methods only one line appears and that is "fail("not yet implemented")".... What am I doing wrong?

OneWorld
Автор

Does anyone know how to write a method where you pass in the card as suit and rank and have the cardno returned?

ItsNom
Автор

Whenever I try to print a card, the unicode symbol is a question mark. Does anyone know why? Is the video out dated?

n.g.
Автор

hello sir, why there is an error in my statement " return rank.charAt(this.ranks)" - that says incompatible types char cannot be converted to string..Hoping for your answer.thanks

geckosports
Автор

Hello Michael ! Please help me, whenever i try to run javadoc, the IDE says " Cannot perform javadoc here" at the bottom of the screen, what to do ??

smithcodes
Автор

public classes are accessible but you must still import them.

michaelfudge
Автор

My age is 16, I am quite interested in java and i love your tutorials.. But in school, they are teaching C++ . So, is there a chance that I may get confused between the 2 codes?

sriharisridhar
Автор

Fudge sir, I can't understand the mathematical function applied here.

sriharisridhar
Автор

@13:00 you say 13/13 =1 and 1%4 is 1? How is the second one true? If you divide 1 by 4 how is the remainder 1?

aashirkhan
Автор

Michael, You are just incredible! I was struggling to understand OOP but you made it so easy for me! Receive all my gratitude! Keep it up brother!

theodule