Which of the following statements about the Java language is true?

Options
- Both procedural and OOP are supported in Java.
- Java supports only procedural approach towards programming.
- Java supports only OOP approach.
- None of the above.


CORRECT ANSWER : Both procedural and OOP are supported in Java.

Discussion Board
java

it is wrong in my opinion.
b/c java is oop.

Atalay 10-29-2017 03:06 PM

Both procedural and OOP are supported in Java.

Procedural means structured and this is how we started the programming language. It is incorrect to say that Procedural programming is a subset of OOP or these two are different but the truth is that OOP programming is a subset of procedural programming. For OOP the language need to be procedural but for procedural it is not necessary that the language need to be OOP.

OOP programming languages just provide better methods to overcome the rework of procedural programming languages. It is a separate style where it makes it easy to write the code without following the procedural norms.

Java being a supporter of OOP but then also all the fundamental it acquires is from procedural programming.

Rohit Sharma 07-28-2014 12:06 AM

Re : Answer is wrong

Dear MG,

Even though it has static still its a procedure..
static is one of the modifier of a procedure, basic concept is same..

Answer is Correct.

plz ref to
http://www.techopedia.com/definition/8982/procedural-language

Shiva 07-21-2014 10:51 PM

Answer is wrong.

Answer is wrong buddy. If it is procedural, the main would not get constructed like that - public static void main.

Mahatma Gandhi 07-17-2014 06:51 PM

java is OOP only

I think u are wrong,
java is OOP only. to overcome to limitations on procedural and rest of the other languages, java comes into picture

sachin mankotia 06-10-2014 02:21 PM

How does java support procedural programming

Can u please explain in detail, how Procedural Programming is supported in java with example.

Soujanya 12-16-2013 07:09 AM

Procedural language ans OOP

Procedural language is a language whose main technique is the 'procedure call' and OOP languages are those which support the 'objects' phenomenon.

Procedural language ans OOP 07-6-2013 01:37 AM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement