Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Java Logical Coding Puzzles
Rating: 4.6 out of 5(133 ratings)
5,538 students

Java Logical Coding Puzzles

Understand the concept with real program
Created byChirag Khimani
Last updated 1/2022
English

What you'll learn

  • This puzzles will help you to clear your programming concept practically
  • You'll able to understand the concept in detail using real time java program
  • You'll able to think different possible way to think one concept differently
  • You'll able to clear any programming interviews
  • It'll help you to build your programming logic

Course content

1 section32 lectures1h 53m total length
  • Java Coding Puzzle - 13:14

    Explore Java method overloading and common compile-time errors in a coding puzzle, including ambiguity and errors like cannot find symbol when calling overloaded methods with int and double parameters.

  • Java Coding Puzzle - 24:32
  • Java Coding Puzzle - 36:50
  • Java Coding Puzzle - 44:53

    Explore dynamic polymorphism in Java with a vehicle and car class, showing how a parent reference accesses overridden driver and play music methods in the child.

  • Java Coding Puzzle - 56:03
  • Java Coding Puzzle - 62:43

    Solve a Java coding puzzle by examining static versus local variable scope in the main method to pinpoint a compilation error and why local variables cannot be static.

  • Java Coding Puzzle - 73:30

    Explore how Java passes a parameter by value in a static context, showing that changing a method parameter does not alter the static variable, so the output remains ten.

  • Java Coding Puzzle - 88:28
  • Java Coding Puzzle - 91:52
  • Java Coding Puzzle - 131:43
  • Java Coding Puzzle - 151:26

    Diagnose a Java coding puzzle that reveals a compilation error from a missing abstract method, and explore upcasting, overriding, and polymorphism in a pen-in-glass example.

  • Java Coding Puzzle - 163:27
  • Java Coding Puzzle - 171:24
  • Java Coding Puzzle - 183:02
  • Java Coding Puzzle - 194:34
  • Java Coding Puzzle - 201:59
  • Java Coding Puzzle - 214:31
  • Java Coding Puzzle - 222:42
  • Java Coding Puzzle - 232:33
  • Java Coding Puzzle - 243:26
  • Java Coding Puzzle - 254:13
  • Java Coding Puzzle - 273:19
  • Java Coding Puzzle - 282:02

    In this Java coding puzzle, attempting to print the loop variable outside a for loop triggers a compilation error, illustrating variable scope rules and common mistakes.

  • Java Coding Puzzle - 292:09
  • Java Coding Puzzle - 304:22

    Explore constructor chaining in Java by examining how child class constructors must call the parent constructor with arguments using super, otherwise compilation errors occur; practice with a practical example.

  • Java Coding Puzzle - 312:34
  • Java Coding Puzzle - 325:33

    Explore a Java coding puzzle by evaluating the program output through operator precedence. Understand left-to-right associativity and boolean short-circuit logic, arriving at the final output of 20.

  • Java Coding Puzzle - 333:45
  • Java Coding Puzzle - 343:38
  • Java Coding Puzzle - 354:25
  • Java Coding Puzzle - 362:15
  • Java Coding Puzzle - 371:59

Requirements

  • You need basic understanding of Java programming
  • You'll also need Object Oriented Programming Concept

Description

We cannot learn how to drive a car just by learning theories. We've to see in real-time to get more understanding & confidence. Because driving a car is a skill or is an art which we need to perform ourselves.


Similarly, programming is an art and we need to learn it by doing brainstorming using pen & paper. We've to solve as many examples as possible to get expertise on it. Generally, we learn many java concepts especially Object-Oriented concepts but we're getting confused when we see them in the programs or we don't have an idea how to implement them because we don't have enough examples to practice.


After solving these puzzles,

1) You'll be able to Brainstorm on different java concepts with real-time examples which will build your confidence and you'll be able to understand the concepts in a better way.
2) You'll be able to visualize each concept as you'll see different examples of the same concepts
3) You'll get 360 degrees understanding of concepts as we've designed these challenges in a way that it'll give you almost all possible use of each concept
4) You'll be able to clear most interviews as all these challenges are very important with respect to interviews

I hope you'll gonna enjoy these challenges & feel free to share your feedback. Happy learning!

Who this course is for:

  • Any programmer who knows java theatrically but facing difficulties implementing concepts real time
  • Any programmer who is preparing for programming interviews