I was studded the basics before but when I watch your videos I decided to make a refreshment on the the materials again with your tutorials and I discovered that there are many of the basics and the concepts that I never heard before ... i am sooooooooo mach thankful
@PhilippLackner4 жыл бұрын
Thanks for that feedback!! I'm glad I can help you
@willingtushar3 жыл бұрын
God bless you for these tutorials man..thanks a lot
@romanesterkin2 жыл бұрын
Hi, thanks for the series! It's super interesting and instructive. I'm afraid your isRectangle is wrong because it doesn't take into account the height. Just a == c && b && d - is a parallelogram
@georgenady73754 жыл бұрын
you are always the best ever
@wiemrabah4 жыл бұрын
Perfect explanation !
@PhilippLackner4 жыл бұрын
Thanks!
@Solutionswithnayan10 ай бұрын
Amazing playlist so much helpful
@ahmadosama2652 Жыл бұрын
Good work bro❤
@noobdev70133 жыл бұрын
Hi, great video! I was wondering, if it matters which NumberFormatException is being used? There is one for Java and there is another for Kotlin.
@PhilippLackner3 жыл бұрын
doesn't matter
@AniobiStanley Жыл бұрын
Please I tried putting the try and catch functions in the parameter of the divide function, but it wouldn't run. Can you help me take a look at it and how can I make it work. class DivisionByZeroException: Exception("You cannot divide by zero, change the denominator.") fun divide(numerator: Double, denominator: Double): Double{ if (denominator == 0.0) throw DivisionByZeroException() return numerator/denominator } fun main(args: Array) { //Exceptions println(divide(5.0, try { 0.0 }catch (e: DivisionByZeroException){ 1.0 })) }
@mohitmahajan19474 жыл бұрын
perfect explanation thanks
@danizimo2 ай бұрын
lmao I clicked on a profile picture in stories in Telegram and it crashed and this happened while watching this video
@abdremo4 жыл бұрын
Perfect 👌
@PhilippLackner4 жыл бұрын
Thanks!
@AniobiStanley Жыл бұрын
//Assignment import kotlin.random.Random class Circle( val radius: Double ): Shape("Circle") { constructor(radius: Int): this(radius.toDouble()) companion object{ fun randomCircle(): Circle{ val radius = Random.nextDouble(1.0,10.0) return Circle(radius) } } init { if(radius < 0) throw NegativeRadiusException() println("$name created with radius $radius. The area of the $name is ${area()}. The perimeter of the $name is ${perimeter()}.") } class NegativeRadiusException: Exception("The radius of the circle cannot be negative, chose a positive radius.") override fun area() = PI * radius.pow(2) override fun perimeter() = 2 * PI * radius }