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
What is a jdbc connection string?
Is jpa faster than jdbc?
What is database deadlock ?
Which is better odbc or jdbc?
What does executequery return in java?
What does executeupdate return in java?
What is the meaning of connection?
Explain how data flows from view to db and reverse
How can I use the JDBC API to access a desktop database like Microsoft Access over the network?
Which is better jpa or jdbc?
Why do we need jdbc?
What is jdbc type?
How to get the Database server details in java program?
What is while rs next ())?
What is connection commit?