Answer Posted / arun kumar samal
no, java is not pure object oriented language due to in java
the primitives data
types(byte,short,int,long,float,double,char,void)are not
objects.to use this type we need each corresponding Wapper
implementation.
e.g:
class A{
Integer i;
public static void main(String... s){
A a=new A();
a.i=new Integer(10);//Boxing before javaSE 5.0
a.i=10;//AutoBoxing from javaSE5.0
}
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
How can we store and retrieve images from the database?
Why should we close database connections in java?
How many types of JDBC Drivers are present and what are they?
What is the purpose of the jdbc resultset interface?
What is statement and preparedstatement in java?
What is resultset?
How can I know when I reach the last record in a table, since JDBC doesn't provide an EOF method?
Discuss the significances of jdbc.
What is a datasource in java?
What class.forname will do while loading drivers of jdbc?
I have the choice of manipulating database data using a byte[] or a java.sql.blob. Which has best performance?
Discuss the procedure of retrieving warnings?
How do I insert/update records with some of the columns having NULL value?
Compare jdbc and odbc and how is jdbc required in this context.
How can I write to the log used by DriverManager and JDBC drivers?