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 |
| |||
| 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 |
| Sponsored Links |
| |||
| 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. |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How do I find information about testing object-oriented programs? | devarajan.v | Quality Engineering and Methodologies | 1 | 11-06-2007 03:03 AM |
| Object Oriented Programming | leoraja8 | Java Programming | 14 | 09-18-2007 05:59 AM |
| object-oriented programming features in Ruby? | vadivelanvaidyanathan | Ruby | 1 | 08-18-2007 12:51 AM |
| What is Object cloning in java? | mobilegeek | Java Programming | 1 | 07-24-2007 05:50 AM |
| What is the Object pointer in Java? | mobilegeek | Java Programming | 1 | 07-23-2007 05:08 AM |