what is type of statement in jdbc connection?
Answers were Sorted based on User's Feedback
Answer / sukanta
1. Statement
2. PrepareStatment
3. CallableStatement
Is This Answer Correct ? | 6 Yes | 0 No |
Answer / manoj kumar sahu(secon pvt.ltd
There are three types of statements
1.statement
2.precompiled/predefined statement
3.collable statement.
Is This Answer Correct ? | 5 Yes | 4 No |
Answer / qim2010
Once a connection is obtained we can interact with the
database. The JDBC Statement, CallableStatement, and
PreparedStatement interfaces define the methods and
properties that enable you to send SQL or PL/SQL commands
and receive data from your database.
They also define methods that help bridge data type
differences between Java and SQL data types used in a database.
Is This Answer Correct ? | 0 Yes | 0 No |
Name two subclasses of the TextComponent class?
What is vector?
Does treeset allow null in java?
What is arrays sort in java?
Can a java program have 2 main methods?
Explain the relationship between the Canvas and Graphics class?
In the first round, there are 30 aptitude and 30 java questions. We are suppose to finish both the papers within 60 minutes. I cleared this round. Next was test for programming skills. In this section, Some 7 n's were asked. 1. What is the difference b/w sleep(1000) and wait(1000) 2. what is the diff b/w static block and static function? 3. Write a program to validate IP address using string tokenizer. 4. Write a program to create singleton class 5. write a function to reverse the string 6. Write a prog to print prime nos upto n. EX: If n=9, It shld print 1,2,3,5,7 7. One program on collections- Write a program to print no. of times a number is repeating in an array. EX- {1,3,1,2,5,7,3,7,34,3,8,3} It should print: 1- 2 times 3- 4 times and so on 7. Write a func to print fibonocci series After this I had technical interview, which went on for. 60 mins or so. There were qn's about multi threading, Exception handling and collection classes. Knowledge about collections was very important for the post I was interviewed for.
How do you clear an arraylist in java?
Tell me the Importent classes in net package?
What are some alternatives to inheritance?
Why const and goto are reserved keyword in java?
What is null object in java?