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 metadata in jdbc?
Explain about the drive manager class working?
What is benefit of using preparedstatement in java?
What is executequery in java?
What are four types of JDBC driver?
What is the difference between jdbc and odbc?
What is an SQL Locator?
What are different parts of a url?
What are the new features available in jdbc 4.0?
What is JDBC Batch Processing and what are it’s benefits?
Explain how data flows from view to db and reverse
What is a merge field?
What are the differences between stored procedure and functions?
What is a jdbc connection string?
What is JDBC PreparedStatement?