Why Java is not purely object oriented?

Answer Posted / priya

java is not purely object oriented b'coz
although we can't write a java program without a CLASS,it
can be without an OBJECT.
i.e. you can simply write the code in "public static void
main(String[] args)". and still it works. Similarly, C++ is
not b'coz u can write CPP program in "main()".

Is This Answer Correct ?    10 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to check string is palindrome without using loop?

796


How to create packages in java?

741


How many boolean functions are there?

746


What are the methods available in a class?

837


What is a Presistent Object?

953


What is method reference in java?

830


Why vector class is used?

739


Explain OOPs concept.

859


What will happen if static modifier is removed from the signature of the main method?

751


What is widening and narrowing in java? Discuss with an example.

788


how would you implement a thread pool? : Java thread

707


Why call by value prevents parameter value change?

830


What is an exception in java?

896


Explain what is Marker interface?

859


What do you mean by local class?

773