JAVA PROGRAM TO PRINT PATTERNS

JAVA PROGRAM TO PRINT PATTERNS

Interview Questions Refer this for preparing yourself on how to write java program to print patterns (Note: NOT Design Patterns) Start Pattern Number Pattern Star Pattern Number Pattern Just a Note There are N-ways of writing the above codes, please feel free to explore by playing around it.

Java Program: Check Number is Palindrome

Interview Questions Refer this for preparing yourself on how to write java program to find given number is Palindrome. Palindrome : Number public class PalindromeNumbeApp { public static void main(String[] args) { int inputNum = 1331; if (PalindromeNumbeApp.isPalindrome(inputNum)) { System.out.println(String.format(“%d is Palindrome Number”, inputNum)); } else { System.out.println(String.format(“%d is NOT Palindrome Number”, inputNum)); } } private static boolean isPalindrome(int inputNum)

Read More

Java My Way of learning

OOPs               Object oriented Programming Concepts Abstraction Encapsulation Polymorphism Inheritance Association Composition Aggregation Abstraction               Hiding the internal details and describing things in simple terms, there are many ways to achieve abstraction in OOPs, such as encapsulation and inheritance.               For Example: a method that adds two integers, the method internal process is hidden from outer world. Encapsulation               It

Read More

Hello World!! Apache Wicket

What is Apache Wicket ? Apache Wicket is a Web Framework provided by Apache Foundation “apache.org“. Why Apache Wicket? To my understanding, Apache wicket is a Component based web framework. Which provides support to create the View and Model (UI and Business Logic) very quickly and easily. What do we need to create Wicket Application? In order for us to build

Read More

How to Setup Apache Tomcat 7 Server

How to Setup Apache Tomcat 7 Server

Setting Up Apache Tomcat 6/7/8 Server Runtime At first we need to download install Apache Tomcat 7. After Install, Open Eclipse. Open Windows -> Preference and Search for “Server” Select Runtime Environments, Click Add. New Server Runtime Wizard will open. Select The Apache Tomcat Version (Here i’m Selecting Tomcat 7) Click Next Name (Can be any name) Apache Tomcat 7.0 Tomcat

Read More