Question about Sun Computers & Internet

1 Answer

J2SE Java is not pure (100%) object oriented langauge Why?

Posted by on

1 Answer

  • Level 1:

    An expert who has achieved level 1.

    Problem Solver:

    An expert who has answered 5 questions.

  • Contributor
  • 6 Answers

Many languages claim to be Object-Oriented. While the
exact definition of the term is highly variable
depending upon who you ask, there are several
qualities that most will agree an Object-Oriented
language should have:

1. Encapsulation/Information Hiding
2. Inheritance
3. Polymorphism/Dynamic Binding
4. All pre-defined types are Objects
5. All operations performed by sending messages to
Objects
6. All user-defined types are Objects
Fair enough...

Java IS by virtue of 1, 2, 3, and 6.
Java IS NOT by virtue of 4 and 5 (not all pre-defined types are Objects, and not all operations are performed by sending messages to Objects).

But since the definition says only that an OOPL should have these things, then Java qualifies.

Next up; given that definition, how would one define "100%"? Exhibiting all those qualities? If that's the case, Java fails the "purity test".

Posted on Sep 21, 2008

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

I need to write a java code for a one player snakes and ladders game


http://www.scribd.com/doc/31905900/Java-Programming-Creating-a-Snake-and-Ladders-Game-and-Object-oriented-concepts
if you go to the website it will teach you how to do it

Feb 27, 2011 | Sun Java Programming Language (cdj-275)

1 Answer

Why main function is made static in java


Hi,
Its very easy dear. In java everything is object oriented. You will call a function through an object. Now we are calling the main method without any object as we do not create any object of the class that contains a main method. So call the main method we need to declare main as static methos so its not a part of an object but a class so that mian method can be called without having creating any object of the class.
Regards, polysandy

Jun 27, 2010 | Sun Java Programming Language (cdj-275)

1 Answer

Applets in java


I recomend you reading Sun's Java tutorials here:
http://java.sun.com/docs/books/tutorial

Specially the Swing one:
http://java.sun.com/docs/books/tutorial/ui/index.html

Dec 23, 2008 | Computers & Internet

1 Answer

JAVA multiple programs on disk


no you don't. Just keep the most recent version.

May 04, 2008 | Sun -115H Computer Speakers

1 Answer

Java


Hello Sir,


The Spring Framework (or Spring for short) is an open source application framework for the Java platform. The first version was written by Rod Johnson, who first released it with the publication of his book Expert One-on-One J2EE Design and Development (Wrox Press, October 2002). A port is available for the .NET Framework.[1]
The framework was first released under the Apache 2.0 license in June 2003. The first milestone release, 1.0, was released in March 2004, with further milestone releases in September 2004 and March 2005.
Although the Spring Framework does not enforce any specific programming model, it has become popular in the Java community as an alternative, replacement, or even addition to the Enterprise JavaBean model. By design, the framework offers a lot of freedom to Java developers yet provides well documented and easy-to-use solutions for common practices in the industry.
While the core features of the Spring Framework are usable in any Java application, there are many extensions and improvements for building web-based applications on top of the Java Enterprise platform. Spring has gained a lot of popularity because of this, and is recognized by vendors as a strategically important framework.



The Spring Framework provides solutions to many technical challenges faced by Java developers and organizations wanting to create applications based on the Java platform. Because of the sheer vastness of the functionality offered, it can be hard to distinguish the major building blocks from which the framework is composed. The Spring Framework is not exclusively linked to the Java Enterprise platform, although its far-reaching integration in this area is an important reason for its popularity.
The Spring Framework is probably best known for offering features required to create complex business applications effectively outside of the programming models which have been dominant historically in the industry. Next to that, it is also credited for introducing previously unfamiliar functionalities into today's mainstream development practices, even beyond the Java platform.
This amounts to a framework which offers a consistent model and makes it applicable to most application types created on top of the Java platform today.
[Modules of the Spring Framework The Spring Framework can be considered as a collection of smaller frameworks. Most of these frameworks are designed to work independently of each other yet provide better functionalities when used together. These frameworks are divided along the building blocks of typical complex applications:
  • Inversion of Control container: configuration of application components and lifecycle management of Java objects.
  • Aspect-oriented programming framework: working with functionalities which cannot be implemented with Java's object-oriented programming capabilities without making sacrifices.
  • Data access framework: working with relational database management systems on the Java platform using JDBC and Object-relational mapping tools providing solutions to technical challenges which are reusable in a multitude of Java-based environments.
  • Transaction management framework: harmonization of various transaction management API's and configurative transaction management orchestration for Java objects.
  • Model-view-controller framework: HTTP and Servlet based framework providing many hooks for extension and customization.
  • Remote Access framework: configurative RPC-style export and import of Java objects over computer networks supporting RMI, CORBA and HTTP-based protocols including web services (SOAP).
  • Authentication and authorization framework: configurative orchestration of authentication and authorization processes supporting many popular and industry-standard standards, protocols, tools and practices via the Acegi sub-project.
  • Remote Management framework: configurative exposure and management of Java objects for local or remote configuration via JMX.
  • Messaging framework: configurative registration of message listener objects for transparent message consumption from message queues via JMS, improvement of message sending over standard JMS API's.
  • Testing framework: support classes for writing unit tests and integration tests.

Mar 11, 2008 | Microsoft Windows XP Professional With...

1 Answer

I need a java code


I really needy of sourcecode of badmintone game in java
pls send it to my ID "firozdost@yahoo.com"

Mar 09, 2008 | Microsoft Windows XP Professional With...

Not finding what you are looking for?
Computers & Internet Logo

Related Topics:

231 people viewed this question

Ask a Question

Usually answered in minutes!

Top Sun Computers & Internet Experts

Les Dickinson
Les Dickinson

Level 3 Expert

18381 Answers

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

Cosma Papouis
Cosma Papouis

Level 3 Expert

409 Answers

Are you a Sun Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...