Java J2EE (14736)
J2ME (151)
Java Related AllOther (507) How TreeMap sorts the objects inside it?? suppose if have include one employee object and one car object. On what basis it will sort?
5 14715we have two applications A1 & A2 both are accesing the same databse table employee at the same time how we will manage this so that both application can get the correct no of emloyee while A1 is inserting a employee at the same time while other applicatuion is getting the empployee list.
5 10104Is it possible to write JAVA program without including any of the packages,such as "import java.io.*"; bcoz I instantly wrote a code without "import..." statement and runned the program on command Line & it worked. the code is: class Person { String name; int age; Person(String s,int a) { name = s; age = a; } accept() { System.out.println(name+"Hi!!!!!"); System.out.println(age); } } class Demo { public static void main(Strings args[])throws IOException { String name = args[0]; int age = Integer.parseInt(args[1]); Person p = new Person(name,age); p.accept(); } }
3 5388you are to choose between two procedures,both of which copute the minimum value in an array of integers.one procedure returns the smallest integer if its array argument is empty. the other requires a nonempty array.which procedure should you choose and why?
2636
What is the role played by sessionfactory interface in hibernate?
What is subsequence of a string?
What is the purpose of '@customvalidator'?
What is replaceall in java?
Explain about core java?
What is bom encoding?
Is core java and j2se same?
What is bean in spring with example?
Can I disable first level cache in hibernate?
What is transaction in hibernate?
What are the benefits of using spring?
When can high usage of CPU occur?
What is the difference between the file and randomaccessfile classes?
What is string [] args?
Do I really have to type in the programs in the book to try them out?