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 27155Interface A { String test(); } Interface B { int test(); } Create a class AB which must implements both A & B interfaces.
17 24283printstream 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 5423code to insert values/rows into oracle database from a java swing textfield when a button is pressed(using preparedstatements)
4435suppose 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 6671Write 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
2617For 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.
2026
What is the difference between singleton and prototype scope in spring?
Which is more beneficial: CMP or BMP?
What are the different types of ioc?
What is meant by lazy loading in hibernate?
What are the 3 levels of orm?
What is the spring ioc container?
What causes the "No suitable driver" error?
How static variable work in java?
What is anagram number?
How to run a JAR file through command prompt?
What is spring batch admin?
What spring is in related to j2ee?
What is the use of sessionfactory?
How can you add and remove nodes in jtree?
Differences between C and Java?