Friday, September 14, 2012
Difficult Questions And Intelligent Answers for Interview
Difficult Questions and Intelligent Answers for Interview: 1. How can you drop a raw egg onto a concrete floor without cracking it?Ans. Concrete floors are very hard to crack! (UPSC Topper)2. If it took eight men ten hours to build a wall, how long would it take four men to build it?Ans. No time at all it is already built. (UPSC 23 Rank Opted for IFS)3. If you had three apples and four oranges in one hand and four apples and three oranges in the other hand, what would you have?Ans. Very large hands..(Good one) (UPSC 11 Rank Opted for IPS)4....
Spliting a String without using any built in functions in Java
In this post, we are going to see how to split a string without using any built in functions.package com.ranga;import java.util.ArrayList;import java.util.List;/** * Write a Java program to split a string with out using any bulit methods like * split(), StringTokenizer class methods. * * @author Ranga Reddy * @version 1.0 */public class SplitString { public static void main(String[] args) { String str = "Welcome to JavabyRangaReddy blog"; String delimiter = " "; // here delimiter is space List<String> list = new ArrayList<String>();...
Thursday, September 13, 2012
JAVA IDE's
Best JAVA IDE :Integrated Development Environments (IDE) provide benefits to programmers that plain text editors cannot match. IDEs can parse source code as it is typed, giving it a syntactic understanding of the code. This allows advanced features like code generators, auto-completion, refactoring, and debuggers. Here are the best-of-breed Java IDEs.1) Eclipse : Price: FreeLicense: Open Source (CPL)Summary: Eclipse is a free IDE that has taken the Java industry by storm. Built on a plugin architecture, Eclipse is highly extensible and customizable....