Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

is java pure object oriented or not ?

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


Please Help Members By Posting Answers For Below Questions

How can we store and retrieve images from the database?

900


Why should we close database connections in java?

1090


How many types of JDBC Drivers are present and what are they?

1059


What is the purpose of the jdbc resultset interface?

866


What is statement and preparedstatement in java?

825


What is resultset?

938


How can I know when I reach the last record in a table, since JDBC doesn't provide an EOF method?

938


Discuss the significances of jdbc.

867


What is a datasource in java?

908


What class.forname will do while loading drivers of jdbc?

876


I have the choice of manipulating database data using a byte[] or a java.sql.blob. Which has best performance?

867


Discuss the procedure of retrieving warnings?

925


How do I insert/update records with some of the columns having NULL value?

885


Compare jdbc and odbc and how is jdbc required in this context.

869


How can I write to the log used by DriverManager and JDBC drivers?

948