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 db client?
Why did my jdbc code throw a rollback sqlexception?
How to use JDBC to connect Microsoft Access?
What does executeupdate return in jdbc?
How can I manage special characters when I execute an insert query?
What are the flow statements of jdbc?
Why we use jdbc instead of odbc?
What is the meaning of batch updates?
What types of DataSource objects are specified in the Optional Package?
What is drivermanager in jdbc?
What is the difference between executing, executequery, executeupdate in jdbc?
How can we execute stored procedures using callablestatement?
Does jpa use jdbc?
How do I write Greek ( or other non-ASCII/8859-1 ) characters to a database?
What are the advantages of using preparedstatement in java?