Check whether given String is Palindrome or not in Java [Java interview]

Check whether given String is Palindrome or not in Java This article will help you to understand Java Program to Check Palindrome. Palindrome is a String or numeric value which remains same after reversing it. e.g. 12321, 345543, KANAK, MADAM etc. We can check if given string is palindrome or not by reverse it and […]

Program to print Factorial in java [Java interview]

Program to print Factorial in java. This article will help you to understand “Java Program to Print Factorial.” Factorials are just products, indicated by an exclamation mark. For instance, “five factorial” is written as “5!” and means 5*4*3*2*1 = 120. In general, n! (“enn factorial”) means the product of all the whole numbers from 1 […]

Print Prime numbers up to given number[Java interview]

Print Prime numbers up to given number. This article will help you to understand “Java Program Of Prime Numbers.” A prime number (or a prime) is a natural number greater than 1 that has no positive divisors other than 1 and itself. A natural number greater than 1 that is not a prime number is […]

Difference between GET and POST

Difference between GET and POST 1. Overview A web browser communicates with the server typically using one of the two HTTP (Hypertext Transfer Protocol) methods — GET and POST. 2. Definition of GET and POST GET requests a representation of the specified resource. POST submits data to be processed (e.g., from an HTML form) to the identified […]

Difference between JSP and Servlets – Java

Difference between JSP and Servlets – Java Definition JSP is a webpage scripting language that can generate dynamic content. Servlets are Java programs that are already compiled which also creates dynamic web content. Speed JSP run slower compared to Servlet as it takes compilation time to convert into Java Servlets. Servlets run faster compared to JSP. Easy to Code […]

Pin It on Pinterest