How to check if a number is an Armstrong number or not? or write a Java program to find Armstrong's number? This is a common Java interview question asked on-campus interviews and fresher-level interviews. This is also a popular Java programming exercise on various schools, colleges, and computer courses to build programming logic among Students. An Armstrong number is a 3 digit number for which the sum of cube of its digits is equal to the number itself.
Learn Java and Programming through articles, code examples, and tutorials for developers of all levels.
Java Program to find Armstrong numbers with Example
How to check if a number is an Armstrong number or not? or write a Java program to find Armstrong's number? This is a common Java interview question asked on-campus interviews and fresher-level interviews. This is also a popular Java programming exercise on various schools, colleges, and computer courses to build programming logic among Students. An Armstrong number is a 3 digit number for which the sum of cube of its digits is equal to the number itself.
Top 5 Apache Camel Online Courses for Java Developers in 2025 - Best of Lot
Top 5 Scala and Functional Programming Books and Courses in 2025 [Best of Lot]
Top 10 IDEs For Java Development In 2025 - Best of Lot
Top 10 Udemy Courses for Java Developers in 2025 - Best of Lot
Difference between Scala, Kotlin Java Programming
How to read CSV file in Java without using a third-party library? FileReader Example Tutorial
Top 10 Frequently asked SQL Query Interview Questions Answers
How to convert Enum to String in Java with Example
Difference between jsp:include and jsp:forward action- Example
<jsp:forward page="URL" />
Right way to check if String is empty in Java with Example
Top 10 Java Programs, Assignments, and Coding Interview Questions Answers
Java coding interview questions are mostly some programming exercises which is asked to be solved in the java programming language in a limited time during any core Java or J2EE interview. No matter whether you have 2 years of experience or 4 years of experience, there is always some coding interview question in the Java programming job you are applying for. Actually, questions related to Java Coding are increasingly getting popular in Java interviews for two reasons, first its difficult to crack Java coding interview questions than answering fact-based questions like Why String is immutable in Java or Why main is static in Java etc.
What is Method Overloading in Java? An Example
Method overloading in Java is an object-oriented programming concept that allows a programmer to declare two methods of the same name but with different method signatures, like a change in the argument list or a change in the type of argument. Method overloading is a powerful Java programming technique to declare a method that does a similar job but with a different kind of input. One of the most popular examples of method overloading is the System.out.println() method whose job is to print data on the console. This method is overloaded to accept all kinds of data types in Java.
What is Method Overriding in Java ? Example Tutorial
Top 10 Tricky Java interview questions and Answers
How to Read, Write XLSX File in Java - Apache POI Example
What is Event Sourcing Design Pattern in Java Microservices? Example
Hello Java programmers, if you are tired of constantly trying to keep track of your application's current state using a traditional relational database then the Event Sourcing pattern might be just what you need. Event Sourcing is a popular pattern in Microservice architecture that allows services to persist and query the state of an application using a sequence of events instead of storing the current state. This pattern has gained popularity because it helps to build complex systems with a clear audit trail and support for long-term scalability. By storing a sequence of events, rather than just the latest state, developers can reconstruct the application state at any point in time, even after failures or bugs. It's also one of the 10 essential Microservice patterns I have shared earlier and it's one of the top 3 along with Saga and CQRS patterns which we have seen in my earlier articles.
10 Examples of print(), println() and prinf() methods In Java - PrintStream
Hello guys, if you are working in Java or just started with Java then you have must come across statements like System.out.println("Hello world") to print something on console or command prompt. This is actually the first statement I wrote in Java when I started programming and at that time I didn't realize how it work and what is System and PrintStream class and what is out here but now I know and I am going to explain all this to you in this article, along with PrintStream class and its various print methods like print(), println() and particularly printf() to print various objects in Java. But, Before we get to the 10 examples of Printstream printf() in Java, let me tell you a little bit more about what exactly Printstream is.