We use cookies to create the best experience for you. Keep on browsing if you are OK with that, or find out how to manage cookies.

Abstraction in Java - Research Paper Example

Free
It involves representing vital features of a system without being involved within the complexity of the system. This makes only the required elements of the object to be represented while hiding the irrelevant object details. In doing so, it helps define an object in terms of its interface, properties or attributes, as well as its functionality (behavioral). More often than not, it is used in separation of the members that are prone to change. Abstraction is among the main principle of Object oriented analysis and Design (David, 2008). Its application in OOAD, especially during the process of design and domain modeling, aids a lot in the designing of the system that is maintainable and flexible. Abstraction Example: Abstraction can be achieved by Composition. For instance, a class Car is made up of Steering objects, an engine, and many other components. When building the Car class, it is not mandatory for an individual to be aware of how different components seem to be working internally (Gu, 2011). Knowing how to interface with the parts of the car, such as sending messages to them, receiving messages from them, and making different objects able to compose the class interact with each other is what is necessary. When writing the characteristic of the car, wheel and Engine in a single class, it looks like this: Public class car { int price; String color; String name; String wheel Name; int wheelprice int engineHorse power int engine Capacity the void move() { // move forward Void rotate

Check these samples - they also fit your topic

Java
In other words, private members are strictly bound within the limits of its declaring class. Members defined with protected modifier can be accessed by classes outside the enclosing class but within the same package. However members declared protected in super class can be accessed by its subclasses, but only if they are present in same package.
7 pages (1750 words)Research Paper
Programming languages Comparison and History
Programming languages Comparison and History. A computer program is simply is the process of abstraction of complexity to a user from a process. The program interface makes it easy for a user to be involved into a process and achieve his desired objectives.
6 pages (1500 words)Research Paper
Comparison between C++ and Java
It provided added support for statically typed OOP (Object Oriented Programming), handling exceptions, generic programming and scoped resource management. Moreover, C++ features a standard library that houses algorithms and generic containers. On the other hand Java was created initially as an interpreter for printing systems but it soon encompassed network computing.
4 pages (1000 words)Research Paper
Oracle vs. Google Lawsuit (Android and Java)
Specifically, these technologies were related to those within the Java operating system, which Oracle alleged were willfully copied without any permission by Google when it developed its own Android operating system. In Oracle America vs. Google, Oracle claimed: Without consent, authorization, approval, or license, Google knowingly, willingly, and unlawfully copied, prepared, published and distributed Oracle America’s copyrighted work, portions thereof, or derivative works and continues to do so.
4 pages (1000 words)Research Paper
Object Oriented Programming
The object oriented programming refers to a form of programming style or paradigm whose foundation is the representation of the programming concepts as objects. Each object in this form of interaction is referred to as an instance of a particular class of objects. In this paradigm, objects are those instances that are used to represent concepts.
7 pages (1750 words)Research Paper
Popularity of Java
In 2011, about 17.87 % of developers in the world used java in their projects making the single most popular language (Krill, 2011). While the rating of Java against other programming languages may change, there is no doubt that Java remains a popular programming languages for the implementation of software solutions.
4 pages (1000 words)Research Paper
Strategic Marketing Plan for Java Sumatra
While most Sumatra roasts offered in the market today consist of blends, Java Sumatra offers a unique service that provides custom roasts with pure Sumatra Arabica coffee beans. Since the company's inception in 2003, Java Sumatra has been exporting to specialty roasters only.
6 pages (1500 words)Research Paper
Introduction to Java Programming
The library lends books to the borrowers, at the same time catalogues the books besides making purchase of new books. The first row in the library class diagram contains the
2 pages (500 words)Research Paper
Abstraction
In real life, abstraction takes place in different areas. It is an essential tool that, when applied, eliminates complex processes. In the movie-making sector, abstraction is a key technique. The directors and
2 pages (500 words)Essay
Java impact on business
Information technology therefore can be understood as all those forms of technology that can be utilized in creation, storage, exchange as well as use of information in the various forms which may include, business data, motion and still pictures or conversations and
5 pages (1250 words)Research Paper
() {wheel methods . } Void internal combustion () //Engine method } } In the example given above, the attributes of the engine, as well as the wheel and are added to the Car type. According to the programming, this would not end up creating any kind of issues. However, coming to maintenance of the application, it becomes somehow more complex. When the abstraction with composition is applied, the example above becomes modified as given in the example below: Public class car { Wheel wheel =new wheel (); Engine engine = new Engine (); String name; int price; String color; Void move () { //move forward } Int enginecapacity; Public class Engine Void internal combustion () (//Engine method } } Publc class wheel { String wheel Name; Intwheel price; Void rotates () { // Wheel method } } One can easily see that attributes, as well as methods that relate to the Engine and Wheel are moved to the respective classes. As can be seen, both wheel and Engine are referred just from the Car type. In cases where the instance of Car becomes created, the Engine and Wheel would be always available for the Car, and whenever there are noticeable changes to the Types i.e. Engine and Wheel, these chances are only confined to such classes and would not in any way affect the Car class. The inventory program, as well as the car simulation program, would be using the car abstraction created. The inventory programs implemented in my system include the manage inventory, the view inventory and the search inventory. Manage Inventory is the key element that the system focuses. The View inventory would be used in viewing all the current cars in the database displaying them in an understandable and easy layout. Search Inventory would be used in searching the database for certain specific vehicle. Add cars inventory helps in adding cars to the database, making Model, price etc. There would be a list of criteria, which helps in organizing and making managing the inventory easy. The sell Cars helps in marking the cars as sold, while keeping in the database for the future statistical calculations (John, 2001). The car abstraction would be used in driving simulators for training of the driver. On many occasions, driving simulators
Cite this document
  • APA
  • MLA
  • CHICAGO
(“Abstraction in Java Research Paper Example | Topics and Well Written Essays - 750 words”, n.d.)
Retrieved from https://studentshare.org/physics/1455072-the-notion-of-abstraction
(Abstraction in Java Research Paper Example | Topics and Well Written Essays - 750 Words)
https://studentshare.org/physics/1455072-the-notion-of-abstraction.
“Abstraction in Java Research Paper Example | Topics and Well Written Essays - 750 Words”, n.d. https://studentshare.org/physics/1455072-the-notion-of-abstraction.
  • Cited: 0 times

Summary

Abstraction as used in Java Programming is a simplification of a complex reality through modeling classes that are appropriate to the problem, while working at the level of inheritance that is most appropriate for a certain aspect of the problem …
Abstraction in Java
Read TextPreview
Comments (0)
Click to create a comment or rate a document
Let us find you another Research Paper on topic Abstraction in Java for FREE!
Contact us:
+16312120006
Contact Us Now
FREE Mobile Apps:
  • About StudentShare
  • Testimonials
  • FAQ
  • Blog
  • Free Essays
  • New Essays
  • Essays
  • The Newest Essay Topics
  • Index samples by all dates
Join us:
Contact Us