is java purely oop Language?
Answers were Sorted based on User's Feedback
Answer / devesh
no java is not pure oop language because in java we use premitive data types like char ,short,double,flour etc which are not object,so we can say java is not a object oriented programming.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / manikandan [ gtec,vellore ]
yes,java is purely oop language.int char etc are simple data
types this are not used for application.we use only wrapper
classes in the application.i asked HR and he replied this
answer.the thing is java supports simple data types too.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / prem kumar sp
Hi.. All
According to Me Java is an Pure Object Oriented Programming
Language.. because
1.It supports all the features of object oriented programming
2. we can write an java application with out using primitive
data types, we can use wrapper classes instead on primitive
data types
{ex instead of int we can use Integer, instead of double we
can use Double}
3. Java Supports multiple inheritance through interfaces
so we can write a full fledged object oriented programs
using java...
Hence it is pure object oriented programming language
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / manik
yes.
To be truly considered "object oriented", a programming language should support at a minimum four characteristics:
Encapsulation--implements information hiding and modularity (abstraction)
Polymorphism--the same message sent to different objects results in behavior that's dependent on the nature of the object receiving the message
Inheritance--you define new classes and behavior based on existing classes to obtain code re-use and code organization
Dynamic binding--objects could come from anywhere, possibly across the network. You need to be able to send messages to objects without having to know their specific type at the time you write your code. Dynamic binding provides maximum flexibility while a program is executing
Java meets these requirements nicely, and adds considerable run-time support to make your software development job easier.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / teja
yes
java is purely oop language
becoz it satisfies all d concepts of oop's
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / mital trivedi
Java is a OOP language and it is not a pure Object Based
Programming Language
There are seven qualities to be satisfied for a programming
language to be pure Object Oriented. They are:
1.Encapsulation/Data Hiding
2.Inheritance
3.Polymorphism
4.Abstraction
5.All predifined types are objects
6.All operations are performed by sending messages to
objects
7.All user defined types are objects.
JAVA is not because it supports Primitive datatype such as
int, byte, long... etc, to be used, which are not objects.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ramu
yes . java is pure obeject programming language because it
supports multiple inheritance through the interfaces and its
objct of objct premitive data types.so don't say java is not
pure oops lang.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sweety
Yes,Because everything is inside the class & accesses
methods and variables by only using objects.
as well as the main function is always resides within the
class i.e.similar name given to your file.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / nagaraju
Java is partially object oriented programing language.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / vikash singh-143
No,java is not pure OOPL just because of primitive data
types.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is design patterns in C++?
What is the difference between Home and $Home?
i got a backdoor offer in process global,Bangalore..Can i work with it?
The IT giant Tirnop has recently crossed a head count of 150000 and earnings of $7 billion. As one of the forerunners in the technology front, Tirnop continues to lead the way in products and services in India. At Tirnop, all programmers are equal in every respect. They receive identical salaries and also write code at the same rate. Suppose 14 such programmers take 14 minutes to write 14 lines of code in total. How long will in take 5 programmers to write 5 lines of code in total ?
what is function over loading?
what is abstract class ? when is used in real time ? give a exp
You attempt to query the data base with this command: SELECT name, salary FROM employee WHERE salary=(SELECT salary FROM employee WHERE last name='Wagner' OR dept no=233) Choose most appropriate option from the following: 1)Sub-queries are not allowed in the where clause. 2)a multiple row sub-query used with a single row comparison operator. 3)a single row query is used with a multiple row comparison operator.
Do you know about multiple inheritance?
which is platform independent device used in computers
What is object in oops?
what is a virtual class?
5 Answers Cap Gemini, IBM, Infosys, Trinity Technologies,
suppose A is a base class and B is the derved class. Both have a method foo which is defined as a virtual method in the base class. You have a pointer of classs B and you typecast it to A. Now when you call pointer->foo, which method gets called? The next part of the question is, how does the compiler know which method to call?