Java J2EE (14736)
J2ME (151)
Java Related AllOther (507) why Runnable interface is preferable than extending the Thread class?
Aizza, College School Exams Tests, Sybrant Technologies, Wipro,
7 27385Interface A { String test(); } Interface B { int test(); } Create a class AB which must implements both A & B interfaces.
17 24848printstream class method println() is calling using System class and its static object out .how it is explain any one in detail with example ?
TCS,
1 5499code to insert values/rows into oracle database from a java swing textfield when a button is pressed(using preparedstatements)
1 4485suppose in a class there is a code like this: { Set hs=new Hashset(); hs.add(new Emp("kathy",1000)); hs.add(new Emp("kathy",2000)); } how can u avoid the above code in your class as set won't allow duplicate objects?
3 6824Write a java program to find the route that connects between Red and Green Cells. General Rules for traversal 1. You can traverse from one cell to another vertically, horizontally or diagonally. 2. You cannot traverse through Black cells. 3. There should be only one Red and Green cell and at least one of each should be present. Otherwise the array is invalid. 4. You cannot revisit a cell that you have already traversed. 5. The maze need not be in the same as given in the above example
2659For ease of programming you can consider the maze as a 2D array with colors represented by below integer and characters (in capital letters). • B - Black • W -White • G- Green • R- Red R B W B W W W W W W B W B B W W W W W W W B W B W W W B W W W W B B W W W B W W W B W W B B B B W B W B W W B W W W B W W W B B B W W B W W W B W W B W B W W W B W B W W W W B B W W W W B W W W W W G Shortest Route Problem: • Solution that finds the shortest Route between Red and Green White will have 1 Weight. Red and Green carry no weights. Shortest path is the path with less weight when you add up the weights in the path.
1 2090
What is the difference between equals() and == in java?
What is parsing in java?
Realized?
hi actully i hav form columns with origin and destination names .as like as i need to create one more column with name amount. my requirement is when i select origin and destination columns automatically i need to get amount from database.how can i. please tel me with relative code
How can you inject java collection in spring?
What is an object in java and how is it created?
How is declarative handling of exceptions done in struts ?
i want test pattern of zylog company and some examples also
What if I write static public void instead of public static void?
How to create a base64 decoder in java8?
Hi frnds how to lock an user when he enter wrong credentials more than 3 time using java or j2ee tech take username and password in a bean no need to connect DB and validate give me some sample application code or links its urgent for me thanks in advance
What is the resourcebundle class?
What are the differences between heap and stack memory in java?
Hi frnd can i any one kindly can post for me portlet,hibernate and spring example application and with flow explantion configuration using Jdeveloper.and related links ar tutorials kindly please send me .its urgent for me .thanks in advance...........else can any one send to kondaiah.goddeti@gmail.com
explain different ways of using thread? : Java thread