Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Java Programming: Java Programs for Interview Preparation
Rating: 4.7 out of 5(10 ratings)
177 students

Java Programming: Java Programs for Interview Preparation

Java Interview, Java Interview Preparation, Java Coding, Coding Interview, Java Programs, Java interview programs
Created byThe LearnersKit
Last updated 8/2020
English
English [Auto],

What you'll learn

  • This course covers frequently asked java programs in the interview.
  • We have explained the programs in detail so that in the interview it should be easy for the students to explain.
  • Java Programs
  • Data Structures Programs

Course content

3 sections20 lectures4h 40m total length
  • Add, Subtract, Multiply and Divide Two Numbers7:35

    Learn to implement a simple Java program that adds, subtracts, multiplies, and divides two numbers using arithmetic operators, variables, and optional user input with Scanner.

  • Find Quotient and Remainder4:20

    Write a Java program that reads dividend and divisor from the user, uses division and modulus operators to compute the quotient and remainder, and demonstrates the outputs.

  • Count Number of Digits for a Given Number12:59

    Count the digits of a given number using three methods—while loop, for loop, and recursion—by repeatedly dividing by ten and leveraging the modulus operator to track digits.

  • Compute Sum of all the digits of a Given Number6:36

    Compute the sum of all digits of a given number in Java by reading input with a scanner and using a while loop, modulus, and division to accumulate the total.

  • Calculate Power of a Number16:18

    Compute the power of a number by reading the base and exponent, returning one when the exponent is zero, and implementing with a while loop, recursion, or Math.pow.

  • Factorial of a Number27:11

    Explore how to compute the factorial of a number in Java using a for loop and recursion, including input handling, base conditions, and using big integer for large results.

  • Reverse a Number18:10
  • Palindrome Number Program6:31

    Learn how to implement a Java program to check palindrome numbers by reversing digits and comparing with the original, using user input and an efficient reversal logic.

  • Program to Check Even or Odd Number4:56

    Learn to check even or odd numbers in java using the modulus operator, take user input with a scanner, and print even numbers within a range.

  • Program to Check Prime Number15:15

    Write a Java program that reads a number and checks if it is a prime number by testing divisibility from two to the square root, breaking early on a divisor.

  • Program to Check Perfect Number15:35

    Learn to identify a perfect number by summing proper divisors (excluding the number) and verifying equality in a Java program using a loop up to half the number.

  • Armstrong Number Program12:57

    Learn to implement a Java program that identifies Armstrong numbers by summing each digit raised to the power of the digit count and comparing to the original number.

  • Swap 2 Numbers8:07

    Learn to swap two numbers in Java using a variable and without it, with a = 10 and b = 20, via A plus B and A minus B techniques.

Requirements

  • You Need to Learn Java to take up this course

Description

This comprehensive course covers frequently asked Java programming interview questions, providing students with a solid foundation in both core and advanced concepts. Each program is explained thoroughly, ensuring students understand not only the syntax but also the underlying logic. This will greatly benefit students during their technical interviews, giving them the confidence to solve and explain similar problems on their own.

In addition to core Java programs, the course presents multiple ways of solving problems, significantly enhancing students' logical thinking and problem-solving skills. Regular updates to the course, including new programs and coding challenges, ensure that students stay engaged and up-to-date with the latest industry standards. Students will also have access to valuable tips on optimizing solutions, improving their code efficiency and performance, which is crucial for acing coding interviews in top tech companies.

Moreover, the course emphasizes the importance of writing clean, readable, and maintainable code, which is a key aspect of impressing interviewers. We also incorporate comprehensive data structure programs, guiding students on how to apply them effectively in interview scenarios. The goal is to fully prepare students to face challenging coding interviews with confidence, from entry-level positions to advanced technical roles.


Welcome to the course and keep learning.

Who this course is for:

  • Java Developers or Java Automation Testers