Sponsored Links

Interview Questions



INTERVIEW QUESTIONS J2EE JAVA DETAILS

Question: Is is true that JAVA is not 100% object oriented language ?

Answer: yes. It is true that JAVA is 100% object oriented language.

It follows all object oriented concepts like Encapsulation, Inheritance and polymorphism.

regarding primitive types...

There are Wrapper classes to replace the primitive types.

Since the primitive types' performance is better than the wrapper classes, we use primitive types.

Category Java Interview Questions & Answers - Exam Mode / Learning Mode
Rating (0.2) By 7961 users
Added on 8/14/2011
Views 73597
Rate it!

Question: Is is true that JAVA is not 100% object oriented language ?



Answer:

yes. It is true that JAVA is 100% object oriented language.

It follows all object oriented concepts like Encapsulation, Inheritance and polymorphism.

regarding primitive types...

There are Wrapper classes to replace the primitive types.

Since the primitive types' performance is better than the wrapper classes, we use primitive types.
Source: CoolInterview.com


no, Java is not 100% OO Programming language. Because it does not support multiple inheritance as in C++. Source: CoolInterview.com

Answered by: gnani | Date: | Contact gnani Contact gnani

I am not satisfied with this answer.

We can not use multiple inheritances in Java,
Java provides us multiple implementations. So Java is not 100% Object Oriented.
Source: CoolInterview.com

Answered by: abhishek dwivedi | Date: | Contact abhishek dwivedi Contact abhishek dwivedi

I think Java is not 100% OOP because there is no concept of Friend Function. Source: CoolInterview.com

Answered by: rahulsingh | Date: | Contact rahulsingh Contact rahulsingh

java is 100% purely object oriented language.since it support all oop concepts.
like encapsulation,polymorphism and in place
of multiple interface java support multiple
interface inheritance. and i think friend function is not include in oop concepts. Source: CoolInterview.com

Answered by: anupama | Date: | Contact anupama Contact anupama

If you visit Sun's Site who are the developer of java.
You will come to know that java is not a truly oop language.
ya we do have wrapper classes for primitive data types but there is no compulsion to use them and many a times they are not used.
truly oop language is Smalltalk. Source: CoolInterview.com

Answered by: Gaurav Varshney | Date: | Contact Gaurav Varshney Contact Gaurav Varshney

I think java is fully object oriented language
see friend functions are the concept of c++ which allows a non member function of a class to access the data members of the class, which is against the rules of data abstraction and data hiding therefore c++ is not a object oriented langauage but java don't have any such kind functions therefore java is fully object oriented language.It does't allow multiple inheritance but yes it allows inheritance of classes which is one of the feature of oops. Source: CoolInterview.com

Answered by: samir bist | Date: | Contact samir bist Contact samir bist

since java supports the basic concepts of OOPL and implement based on that,i think we can say it is pure Object Oriented Source: CoolInterview.com

Answered by: Sreekumar | Date: | Contact Sreekumar Contact Sreekumar

multiple inheritance is possible with the usage of Interfaces. So it 100 % Object oriented Source: CoolInterview.com

Answered by: Anand | Date: | Contact Anand Contact Anand

NO,Java is not pure Object Oriented Language."SmallTalk" is a pure Object Oriented Language, because in smalltalk primitive datatypes are also objects where as in java we have to use alternative called Wrapper classes to implement objects type.Even though it works. Source: CoolInterview.com

Answered by: N.PardhaSaradhi | Date: | Contact N.PardhaSaradhi Contact N.PardhaSaradhi

No friends , Java is NOT 100% OO language bcoz , IT Doesnt Follow Encapsulation fully.

That is The MAIN METHOD [main()] doesnot bind data and fns together , so encapsulation is misbehaved here . Source: CoolInterview.com

Answered by: mohan | Date: | Contact mohan Contact mohan

Yes! Java is 100% OOP's Language. Because supports all OOP's Concepts. Multiple Inheritance is difficult to programmer. Instead of Multiple Inheritance, Interface is used. Source: CoolInterview.com

Answered by: Balakrishnan. K | Date: | Contact Balakrishnan. K Contact Balakrishnan. K

Well 1st thing for becoming 100% OOP is to use objects, variable declaration in java is not Object based... thats why java is not a pure or 100% OOP Source: CoolInterview.com

Answered by: Sabalesh Mahajan | Date: | Contact Sabalesh Mahajan Contact Sabalesh Mahajan

Dear friends oops is a basic bulidings block for java and c++. java was developed intially by (Smalltalk and the Simula 67) which are the inspiration for the java developers,Although java is framed on the c,c++ syntax.oops concept makes the java robust,efficient for utility.
abstraction,inheritance,polymorphism,
encapsulation,message passing more
effective.Though java have mulitiple implementation and no friend function

so i think java is partially 100% oops.

Source: CoolInterview.com

Answered by: sunil | Date: | Contact sunil Contact sunil

Java is not 100% Object Oriented b'coz java allows static members using class names. Source: CoolInterview.com

Answered by: Sheetal | Date: | Contact Sheetal Contact Sheetal

Java is not 100% Object oriented because we can access static members using class name Source: CoolInterview.com

Answered by: Sheetal | Date: | Contact Sheetal Contact Sheetal

Java is considered 100 object oriented language. The concept of wrapper classes is there which makes it the 100 object oriented language. Ya its true it is not generally used. And there is nothing like that if you can refer the static members without creating the object then it is not 100 object oriented... Source: CoolInterview.com

Answered by: vani | Date: | Contact vani Contact vani

java is 100% object oriented bcz it supports all oops concepts& also multiple inheritance but it causes some confusion to programmer it can be overcomed by using interfaces Source: CoolInterview.com

Answered by: swapna | Date: | Contact swapna Contact swapna

first of all i wan to say that we are talkink abt OOP concept and java follows all the concepts of OOP i.e
encapsulation
abstraction
inheritence
polymorphism
n abt multiple inheritence then java provide interfaces to allow multiple inheritence
so, java is 100% pure OOP based. Source: CoolInterview.com

Answered by: disha mohini pathak | Date: | Contact disha mohini pathak Contact disha mohini pathak

yes java is pure OOP ,becouse all the oops concept used in java as well as all the methods
and variable declare within class.
No methods and variables are declering outside the class. Source: CoolInterview.com

Answered by: Dharemndra | Date: | Contact Dharemndra Contact Dharemndra

There is only one pure OOP language and that is ADA (American Defence Agency). Truely speaking there are 7 Object Oriented Concepts including Abstraction, Encapsulation, Inheritance, Polymorphism and the remaining 3 are unknown. So JAVA is not a pure OOP language. But still JAVA is considered to be pure OOP language because all the concpets of Abstraction, Encapsulation, Inheritance,& Polymorphism, are still utilized. Source: CoolInterview.com

Answered by: Vikram Nageshwar Rao | Date: 11/2/2007 | Contact Vikram Nageshwar Rao Contact Vikram Nageshwar Rao

java is 100% object oriented because the main is written inside the class. Source: CoolInterview.com

Answered by: sudha | Date: 12/11/2007 | Contact sudha Contact sudha

java is 100% object oriented bcz it supports all oops concepts & also multiple inheritance but it causes some confusion to programmer it can be overcomed by using interfaces. Source: CoolInterview.com

Answered by: santosh | Date: 12/16/2007 | Contact santosh Contact santosh

Java is not a completely object oriented language, because not all values in Java are Objects. For example, the basic numeric types such as int, long, double, etc., are not objects and need to be "boxed" into objects in order to pass them as Object parameters or call methods on them. Source: CoolInterview.com

Answered by: deepak srivastava | Date: 3/3/2009 | Contact deepak srivastava Contact deepak srivastava

Java is not a completely object oriented language, because it used primitive data
type.

completely object oriented language is Small Talk.

Source: CoolInterview.com

Answered by: Dileep Mishra | Date: 6/17/2010 | Contact Dileep Mishra Contact Dileep Mishra


If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
  • There should not be any Spelling Mistakes.
  • There should not be any Gramatical Errors.
  • Answers must not contain any bad words.
  • Answers should not be the repeat of same answer, already approved.
  • Answer should be complete in itself.
Name :*
Email Id :*
Answer :*
Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
Process Verification Enter the above shown code: *
Inform me about updated answers to this question

Related Questions
View Answer
Difference b/w synchronized Method and synchronized statement in case of whole body of method cover by synchronized statement.

View Answer
How do you know that where to use abstract class or interface?

View Answer
How System.out.println() works?

View Answer
can the main() method be overloaded? or overrided? and what happens when we do so?

View Answer
What is the use of keyword transient?

View Answer
What is Log4j in java

View Answer
Why we can not override static method?

View Answer
How to create the object to the anonomous class

View Answer
What is the difference between array list and linked list. in which situations we are use them? which is best one?

View Answer
Can i expand an interface?

View Answer
what happens if we execute the program?
class Return{
int display(){
try{
return 1;
}
finally{
return 2;
}
}
public static void main(String args[]){
Return r=new Return();
r.display();
}
}

View Answer
If interface has got four methods,and I like to implement only two methods, how this could be achieved?

View Answer
Does JVM maintain a cache by itself? Does the JVM allocate objects in heap? Is this the OS heap or the heap maintained by the JVM? Why

View Answer
What are the primitive types in Java?

View Answer
How would you implement a thread pool

View Answer
How do you declare constant values in java?

View Answer
Do primitive types have a class representation

View Answer
When you have an object passed to a method and when the object is reassigned to a different one, then is the original reference lost

View Answer
What is a memory footprint? How can you specify the lower and upper limits of the RAM used by the JVM? What happens when the JVM needs more memory




View Answer
When you use a struts framework, where would you place your business logic

View Answer

Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.

View All Java Interview Questions & Answers - Exam Mode / Learning Mode



User Options
India News Network

Latest 20 Questions
Payment of time- barred debt is: (a) Valid (b) Void (c) Illegal (d) Voidable
Consideration is defined in the Indian Contract Act,1872 in: (a) Section 2(f) (b) Section 2(e) (c) Section 2(g) (d) Section 2(d)
Which of the following is not an exception to the rule, "No consideration, No contract": (a) Natural love and affection (b) Compensation for involuntary services (c) Completed gift (d) Agency
Consideration must move at the desire of: (a) The promisor (b) The promisee (c) The promisor or any other party (d) Both the promisor and the promisee
An offer which is open for acceptance over a period of time is: (a) Cross Offer (b) Counter Offer (c) Standing Offer (d) Implied Offer
Specific offer can be communicated to__________ (a) All the parties of contract (b) General public in universe (c) Specific person (d) None of the above
_________ amounts to rejection of the original offer. (a) Cross offer (b) Special offer (c) Standing offer (d) Counter offer
A advertises to sell his old car by advertising in a newspaper. This offer is caleed: (a) General Offer (b) Special Offer (c) Continuing Offer (d) None of the above
In case a counter offer is made, the original offer stands: (a) Rejected (b) Accepted automatically (c) Accepted subject to certain modifications and variations (d) None of the above
In case of unenforceable contract having some technical defect, parties (a) Can sue upon it (b) Cannot sue upon it (c) Should consider it to be illegal (d) None of the above
If entire specified goods is perished before entering into contract of sale, the contract is (a) Valid (b) Void (c) Voidable (d) Cancelled
______________ contracts are also caled contracts with executed consideration. (a) Unilateral (b) Completed (c) Bilateral (d) Executory
A offers B to supply books @ Rs 100 each but B accepts the same with condition of 10% discount. This is a case of (a) Counter Offer (b) Cross Offer (c) Specific Offer (d) General Offer
_____________ is a game of chance. (a) Conditional Contract (b) Contingent Contract (c) Wagering Contract (d) Quasi Contract
There is no binding contract in case of _______ as one's offer cannot be constructed as acceptance (a) Cross Offer (b) Standing Offer (c) Counter Offer (d) Special Offer
An offer is made with an intention to have negotiation from other party. This type of offer is: (a) Invitation to offer (b) Valid offer (c) Voidable (d) None of the above
When an offer is made to the world at large, it is ____________ offer. (a) Counter (b) Special (c) General (d) None of the above
Implied contract even if not in writing or express words is perfectly _______________ if all the conditions are satisfied:- (a) Void (b) Voidable (c) Valid (d) Illegal
A specific offer can be accepted by ___________. (a) Any person (b) Any friend to offeror (c) The person to whom it is made (d) Any friend of offeree
An agreement toput a fire on a person's car is a ______: (a) Legal (b) Voidable (c) Valid (d) Illegal



Fresher Jobs | Experienced Jobs | Government Jobs | Walkin Jobs | Company Profiles | Interview Questions | Placement Papers | Companies In India | Consultants In India | Colleges In India | Exams In India | Latest Results | Notifications In India | Call Centers In India | Training Institutes In India | Job Communities In India | Courses In India | Jobs by Keyskills | Jobs by Functional Areas

Testing Articles | Testing Books | Testing Certifications | Testing FAQs | Testing Downloads | Testing Interview Questions | Testing Jobs | Testing Training Institutes

Gate Articles | Gate Books | Gate Colleges | Gate Downloads | Gate Faqs | Gate Jobs | Gate News | Gate Sample Papers | Gate Training Institutes

MBA Articles | MBA Books | MBA Case Studies | MBA Business Schools | MBA Current Affairs | MBA Downloads | MBA Events | MBA Notifications | MBA FAQs | MBA Jobs
MBA Job Consultants | MBA News | MBA Results | MBA Courses | MBA Sample Papers | MBA Interview Questions | MBA Training Institutes

GRE Articles | GRE Books | GRE Colleges | GRE Downloads | GRE Events | GRE FAQs | GRE News | GRE Training Institutes | GRE Sample Papers

IAS Articles | IAS Books | IAS Current Affairs | IAS Downloads | IAS Events | IAS FAQs | IAS News | IAS Notifications | IAS UPSC Jobs | IAS Previous Question Papers
IAS Results | IAS Sample Papers | IAS Interview Questions | IAS Training Institutes | IAS Toppers Interview

SAP Articles | SAP Books | SAP Certifications | SAP Companies | SAP Study Materials | SAP Events | SAP FAQs | SAP Jobs | SAP Job Consultants
SAP Links | SAP News | SAP Sample Papers | SAP Interview Questions | SAP Training Institutes |




Copyright ©2003-2024 CoolInterview.com, All Rights Reserved.
Privacy Policy | Terms and Conditions