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
What is nested top-level class?
How do you add an element to an arraylist in java?
Can main() method in java can return any data?
What is the difference between stringbuffer and stringbuilder class?
What is the base class in java from which all classes are derived?
What is an empty class? What functionality does it offer in Java?
Can string be considered as a keyword?
How to implement an arraylist in java?
Considering notepad/ie or any other thing as process, what will happen if you start notepad or ie 3 times? Where 3 processes are started or 3 threads are started?
Where and how can you use a private constructor?
Which one will take more memory: an int or integer?
What is flag in python?
Where we write javascript code in html page?
What do you mean by pointer value and address?
What is the meaning of variables in research?