This is a discussion on Why java is not 100% pure object oriented language? within the Java Programming forums, part of the Software Development category; Hi, Can anyone share below doubts. 1.Why java is not 100% pure object oriented language? 2.What is the ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hi, Can anyone share below doubts. 1.Why java is not 100% pure object oriented language? 2.What is the meaning of "final" keyword Thanks, Prasath.K |
|
#2
| |||
| |||
| For Final Keyword, The final modifier can be applied to four Java constructs: 1. variables: a final variable can be set once and only once. 2. fields: a final field can also be set only once, by the constructor of the class which defines it. 3. methods: a final method cannot be overridden nor hidden. 4. classes: a final class cannot be extended. Notice how using final is an entirely negative act. The final keyword works by subtracting, limiting default language mechanisms: the ability to override a method, to set a variable or a field. The motivations behind using final fall into three broad categories: correctness, robustness, and finally performance. --kamal. |
|
#3
| |||
| |||
| One reason which i think is important Java didn't allow you the multiple inheritance which is the basic functionality of the Object Oriented Language.... If I am wrong please let me know.... |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Introduction of Java as a programming language in development field | software | Java Programming | 1 | 11-06-2008 05:20 AM |
| How do I find information about testing object-oriented programs? | devarajan.v | Quality Engineering and Methodologies | 1 | 11-06-2007 04:03 AM |
| Object Oriented Programming | leoraja8 | Java Programming | 14 | 09-18-2007 06:59 AM |
| object-oriented programming features in Ruby? | vadivelanvaidyanathan | Ruby | 1 | 08-18-2007 01:51 AM |
| What is Object cloning in java? | mobilegeek | Java Programming | 1 | 07-24-2007 06:50 AM |
Our Partners |