Object Oriented Programming: Java And Java

Decent Essays
Introduction
“Object oriented programming is a programming paradigm based on the concept of “objects”, which may contain data, in the form of fields, often known as attributes; and code, in the form of procedures, often known as methods.” In object oriented programming, the user inputs a set of data, the programming then processes the information and outputs the outcome. Most of the programming languages used support object oriented programming. Some of these languages include Java, C#, Python, PHP, Ruby, Perl. Delphi, Objective-C, Swift, Common Lisp and Smalltalk. For the purpose of this paper, I will compare C# and Java.

Description and Background of Java
Java is an object oriented programming language that is designed to “write once, run anywhere”. The idea of Java was first initiated in June 1991 and later debuted on May 23, 1995. James Gosling, Mike Sheridan and Patrick Naughton
…show more content…
One major similarity shared between the two is that they are both Object Oriented Programming languages. These two languages subclass objects and have predefined stack classes. Both languages also provide a built-in garbage collection, which allows the program to tell the user to delete an item if it is not needed. They both class instances are referenced using the new operator. Another common similarity is that both languages only allow one inheritance; however, every class is allowed to implement many interfaces. These two languages provide an easy way for the developer to create a built-in multi-threaded application. One of the most important features that is shared between the two is that C# and Java encode all characters using 16 bits, rather than 8. This feature is better known as Unicode. These two languages also share a commonality in keywords that are used within the programs. These keywords include new, bool, this, break, static, class, throw, virtual and null. When dealing with modifiers, C# and Java both use the terms public and

Related Documents

  • Improved Essays

    Nt1330 Unit 2 Assignment

    • 505 Words
    • 3 Pages

    It worked very well due to the input of information from the manual about what procedural step needed to be taken in order for the application to have its functionality in its correctness. The encapsulation aspect of the process given help to create the application all together in the procedural aspect and it help to generate the code formation of what will be happening in the process of Java application structure as it is seen and/ or made by…

    • 505 Words
    • 3 Pages
    Improved Essays
  • Improved Essays

    Pt1420 Unit 5 Lab 1

    • 382 Words
    • 2 Pages

    cs61002: Algorithms and Programing 1 rbattul1 Lab Assignment 5: Summary of chapters 2.1 to 2.6 of python scientific notes. Summary:…

    • 382 Words
    • 2 Pages
    Improved Essays
  • Improved Essays

    4 Jazz Team Server JTS is a java based web application which runs on the application servers such as Apache Tomcat or IBM WebSphere application server. JTS provides the foundational services that enable a group of applications to work together as a single logical server. After user install JTS and applications such as CCM, RM, and QM. When server setup wizard run by the user it registers the installed applications with Jazz Team server. Applications that are registered with JTS can communicate with each other.…

    • 418 Words
    • 2 Pages
    Improved Essays
  • Improved Essays

    Nt1310 Unit 1 Study Guide

    • 1037 Words
    • 5 Pages

    Question from Chapters 5,6,7,8 1. What UML diagram types do you need to represent the essential features of a system? A. Activity diagrams, which show the activity that make up a system process and the flow of control B. Use case diagrams, which show the interactions between a system and its environment. C. Sequence diagrams, which show interactions between actors and the system and between system components. D. Class diagrams, which show the object classes in the system and the associations between these classes.…

    • 1037 Words
    • 5 Pages
    Improved Essays
  • Improved Essays

    Task 9 For this task I must compare the usefulness of maintaining a database with MySQL compared with if I were to use the query language (QBE). For this task I will need to evaluate the advantages for both the languages, as well as the disadvantages, to find a conclusion which is evenly presented for both of the languages. Advantages and Disadvantages Although the two languages interlink in many different ways they have many different features that must be noticed by the user before the use of either, these two tables show the brief comparisons that should be made before using either of the two languages. MySQL Advantages Disadvantages Point How it affects the user Point How it affects the user…

    • 1173 Words
    • 5 Pages
    Improved Essays
  • Improved Essays

    Bigfoot Film Analysis

    • 1091 Words
    • 5 Pages

    Bonaduce, a local DJ, and opportunist. Not that far a stretch for Danny seeing that's what he pretty much does in real life. Classic rocker Alice Cooper does a cameo. One of the funniest parts of the movie, by the way.…

    • 1091 Words
    • 5 Pages
    Improved Essays
  • Decent Essays

    Fig 1.2 Classes of interrupts Program Generated by some condition that occurs as a results of an instruction execution, such as arithmetic overflow, division by zero, attempt to execute am illegal machine instruction, and reference outside a user's allowed memory space. Timer Generated by a timer within the processor. This allows the operating system to perform certain functions on a regular basis. I/…

    • 364 Words
    • 2 Pages
    Decent Essays
  • Decent Essays

    As part of the Every Child Matters (ECM) agenda, Coleham School takes a whole school approach in implementing the 5 National Outcomes of this legislation. Children are protected and kept safe in a number of ways due to policies and attitudes implemented at Coleham. As detailed in the child protection policy for Coleham School, the following legislation, policies and issues are taken into consideration. “The policy reflects current legislation, accepted best practice and complies with the government guidance: Working Together to Safeguard Children March 2015 and Keeping Children Safe in Education July 2015…

    • 248 Words
    • 1 Pages
    Decent Essays
  • Decent Essays

    HIT 137 – Assignment 2 30 Marks Questions 1 - 5 Marks Write a python program to write your first name on the screen by using turtle module. import turtle background = turtle. Screen() background.bgcolor("white") # creates a graphics window shashi = turtle. Turtle() shashi.up() shashi.goto(-120,0) shashi.down() shashi.backward(30) shashi.right(90) shashi.forward(30) shashi.left(90) shashi.forward(30) shashi.right(90) shashi.forward(30) shashi.right(90) shashi.forward(30) shashi.left(90) shashi.up() shashi.goto(-90,0) shashi.down() shashi.forward(60) shashi.backward(30) shashi.left(90) shashi.forward(30) shashi.left(90) shashi.forward(30) shashi.left(180) shashi.forward(60) shashi.up() shashi.goto(-30,-60) shashi.down() shashi.left(180)…

    • 544 Words
    • 3 Pages
    Decent Essays
  • Great Essays

    ”-(David Mamet, U.S. screenwriter, and Brian DePalma. Jimmy Malone (Sean Connery), The Untouchables, advice to Elliot Ness (Kevin Costner) on how to stop…

    • 1713 Words
    • 7 Pages
    Great Essays
  • Superior Essays

    Principles of construction are passed down and improved upon as construction technologies advance. For example, mud and straw were considered suitable materials for building shelter, but now they are not. Frederick P. Brooks Jr lays out timeless principles of software engineering in The Mythical Man-Month. Brooks writes about common problems faced by software engineers and how the principles are applied. While elaborating on common problems encountered Brooks goes into specific details about systems that are antiquated due to advances in technology.…

    • 1561 Words
    • 7 Pages
    Superior Essays
  • Improved Essays

    Perplexing Coding This picture symbolizes my AP Computer Science class because in this class, I had to come up with different types of codes, like the one shown, to write and format. I chose this image because once I entered this class I knew that coding was exactly what it appeared to be. Complicated. Most of my class was filled with seniors so the first few months I struggled to learn the material that they already knew.…

    • 1455 Words
    • 6 Pages
    Improved Essays
  • Improved Essays

    Roles of Core Technologies in an Effective IT System Technology permeates all aspects of modern civilization. It is woven into the fabric of our daily lives. What was once barriers to knowledge and communication have been stripped down as we are now connected, in an instant, to the farthest reaches of the globe. With every new advancement comes an opportunity to usher in a revolution in how societies live, work, and play. The major players that make it all possible are the men and women who create and manage the technology we use today.…

    • 996 Words
    • 4 Pages
    Improved Essays
  • Improved Essays

    Fred Brooks is the first recipient of ACM Allen Newel Award. This award is presented as a token of honour to the individuals for their contributions in bridging Computer Science with other disciplines. In the article “The Computer Scientist as Toolsmith – II”, Brooks has given the opinion that Computer Science is probably not the best name that is coined for the discipline of computers which deals with solving problems for the users. Explaining the core difference between Science and Engineering, he states that Science is about discovering facts and laws of the universe, but engineering is about creating new things. In Computer Science, we are focussed on creating new things/new solutions, so the discipline can be appropriately referred as…

    • 896 Words
    • 4 Pages
    Improved Essays
  • Superior Essays

    RE Essay – Ani Gemmill Hinduism and Catholicism couldn’t be more different however when it comes to the belief in life after death many similarities occur. In both religions the concept of life after death is based on a higher being or God in which they aim on returning to. (e.g. Brahman for Hindus and God for Catholics.) When Hindus die they believe in the concept of samsara meaning death and rebirth. They live their next life through karma.…

    • 3960 Words
    • 16 Pages
    Superior Essays