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
Name different methods for getting streams.
What are the advantages of using preparedstatement in java?
What is jdbc connection?
what is the meaning of following code snippets Class c=class.forName(driverClassName); Driver d=(driver)c.newInstance();
What happens if connection is not closed in jdbc?
What is jdbc architecture in java?
Why do we use jdbc?
What is odbc. how is it related to sql cli?
What do you mean by jdbc batch processing and what are the advantages of using jdbc batch processing?
What packages are used by jdbc?
How do I check in my code whether a maximum limit of database connections have been reached?
How does jdbc connect to database?
What is a jdbc url?
Why hibernate is better than jdbc?
Where is jdbc used?