IT Community - Software Programming, Web Development and Technical Support

Why java is not 100% pure object oriented language?

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 ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Software Development > Java Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 07-17-2007, 06:12 AM
prasath prasath is offline
D-Web Sr.Programmer
 
Join Date: Jul 2007
Location: Chennai
Posts: 173
prasath is on a distinguished road
Thumbs up Why java is not 100% pure object oriented language?

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
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-18-2007, 07:15 AM
Kamalakannan Kamalakannan is offline
D-Web Analyst
 
Join Date: May 2007
Posts: 299
Kamalakannan is on a distinguished road
Default Re: Why java is not 100% pure object oriented language?

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.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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


All times are GMT -7. The time now is 11:49 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0