Java  Objects  Intro
Upcoming SlideShare
Loading in...5
×
 

Java Objects Intro

on

  • 745 views

 

Statistics

Views

Total Views
745
Views on SlideShare
745
Embed Views
0

Actions

Likes
0
Downloads
20
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as OpenOffice

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Java  Objects  Intro Java Objects Intro Presentation Transcript

  • Programming Java Objects and Classes Introduction Colm Bennett
  • Programming – The History
    • Traditional programming was procedural
    • Code started at the start and ran through a set task
    • Structured coding was added to create “modules” of code that performed a particular part of the overall task
    • Various problems with procedural code
  • Issues with Procedural Code
    • Doesn't lend itself to reuse
    • Over time, adding new features can lead to spaghetti code
    • Focus is on code instructions rather than the data structures that will be manipulated
  • Move towards Oop
    • Led by major issues with large software projects
    • Move towards modularising code
      • Attempt to increase reuse
      • Hides internal implementation
      • Other modules should interact with it through a defined interface
    • This approach was successful and led to a fuller framework - Oop
  • Oop
    • Object Orientated Programming
    • Focuses on real world modeling
    • Sees a problem in terms of “objects”
    • An Object is an entity that has code and data internally and responds to messages
  • Formal Object Features
    • Wikipedia!
    • http://en.wikipedia.org/wiki/Object-oriented_programming
  • Objects in Java
    • Over to general introduction ...
    • http://chortle.ccsu.edu/CS151/Notes/chap25/