Preview

Intro to Java Netbeans

Powerful Essays
Open Document
Open Document
2703 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Intro to Java Netbeans
Chapter

1

CHAPTER 1

Introduction to Java

Objectives
 To understand what is an Object Oriented Programming language.  Some information about Java programming language  What makes the java language different to other languages  What makes up Java – the files and where Java is installed on a computer  Getting an idea of the different versions of Java  How to create, compile and run a Java program at the command line - without the use of an IDE like NetBeans

Chapter 1- Intro to Java.docx v1 Jan 2010

P.Snape & S.Batsas & O.Alahakoon

page

1 / 10

Chapter

1
What is programming?
A computer is a machine. Humans need to provide instructions to computers to operate. Providing instructions to a computer is called “Programming”.

What is a programming language?
A programming language is an artificial language designed to communicate instructions to a machine, particularly a computer.

What is Object Oriented Programming?
Object Oriented Programming is a technique of programming where we use objects as the basic unit of manipulation.

What is Java?
Java is a computer programming language, a library of Classes called the API and the Java Virtual Machine that interprets the machine code. In essence Java is a platform. This means you can run Java programs without an operating system installed on your computer. The software engineers behind the Java development had one principle objective in mind; to create a language that can be compiled on one machine and run on any machine. The Java Virtual Machine makes this possible. Once a Java program is compiled into Byte Code (virtual machine code) it can then be interpreted on any computer architecture as long as the Java Virtual Machine is installed. It is intended to let application developers "write once, run anywhere". The most common computer architectures are:
UNIX INTEL MAC

Java Byte Code is not machine code understood by the CPU. It is an optimised set of instructions ready to be

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Homework Week 2

    • 743 Words
    • 3 Pages

    Machine code it the language that the computer understands. High level languages are better because they are easier to understand and work with.…

    • 743 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Daniel Shaye was a poor farmhand from Massachusetts when the Revolution broke out. He joined the Continental Army where he fought at Lexington, Bunker Hill, and Saratoga, and was eventually wounded in action. In 1780, he resigned from the army unpaid and went home to find himself in court for the nonpayment of debts. He soon found that he was not alone in being unable to pay his debts, and once even saw a sick woman who had her bed taken out from under her because she was also unable to pay. He started to get very angry about the country's actions. The rebellion started on August 29, 1786, and by January 1787, over one thousand Shaysites had been arrested. A militia that had been raised as a private army defeated an attack on the federal Springfield…

    • 262 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    The Chesapeake region consists of Maryland and Virginia, and the New England colonies consists of Massachusetts, New Hampshire, Rhode Island, and Connecticut. Even though they were both settled around the same time period, 1607 to 1700, the two regions differ greatly. From the time period of their original settlement in 1607, the Chesapeake region developed differently from the New England colonies due to their differences in geography, motives for settlement and the socioeconomic backgrounds of their original settlers.…

    • 660 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    pt1420 exam review

    • 738 Words
    • 3 Pages

    What is used to translate high level language programs to machine language (or machine code)? Compiler…

    • 738 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Inch and Lt

    • 1077 Words
    • 5 Pages

    A: The machine code is the language which the computer hardware understands and executes. It is preferable to write programs in a high level language such as C ++ because it is much easier to understand and learn this machine language.…

    • 1077 Words
    • 5 Pages
    Satisfactory Essays
  • Satisfactory Essays

    •Name and describe the only language that computers understand and explain how the instructions that people write for computers get into that form…

    • 322 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    The main objective of this course/subject is to provide students with knowledge and applications of Object-Oriented Programming through the use of the Java programming language.…

    • 414 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Thought there are numerous computer programming languages in the world today, we will focus on the three basic fundamental types of computer programming languages.…

    • 1318 Words
    • 6 Pages
    Powerful Essays
  • Satisfactory Essays

    CSO Gaddis Java Chapter1 1

    • 2953 Words
    • 29 Pages

    1-5 Why Program? • Computers are tools that can be programmed to perform many functions, such as: • spreadsheets • games • databases • etc. • word processing • Computers are versatile because they can be programmed. • Computer Programmers implement programs that perform these functions. © 2012 Pearson Education, Inc.…

    • 2953 Words
    • 29 Pages
    Satisfactory Essays
  • Good Essays

    Week 1 Homework

    • 843 Words
    • 5 Pages

    Machine code is the language which the computer hardware understands and executes. Instructions in a high-level language are closer to a natural language, such as English and therefore are easier to understand and learn than machine language.…

    • 843 Words
    • 5 Pages
    Good Essays
  • Good Essays

    The Sun Also Rises

    • 689 Words
    • 3 Pages

    In Ernest Hemingway's "The Sun Also Rises", Hemingway uses first person point of view through Jake to show different aspects, relationships, and thoughts he has regarding characters throughout the story. One of the most prominent themes throughout the novel is how it was drastically shaped through World War I and how many of the characters' personalities, thoughts, and interactions were ultimately shaped through the usage of the war. Like Hemingway himself, characters such as Jake, Brett, and Cohn's lives revolved around this uneventful frenzy of alcohol, parties, lies, and drama. While the war is sometimes not directly stated to be the cause of the main character's…

    • 689 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    IEEE—ICET 2006 2nd International Conference on Emerging Technologies Peshawar, Pakistan 13-14 November 2006 1-4244-0502-5/06/$20.00 ©2006 IEEE 689 Preventing Reverse Engineering Threat in Java Using Byte Code Obfuscation Techniques Jan M. Memon, Shams-ul-Arfeen, Asghar Mughal, Faisal Memon Department of Computer Science Isra University, Hyderabad, Pakistan {janmohd, shams, asghar, faisal}@isra.edu.pk Abstrac: Java programs are compiled into a platform independent byte code format. Much of the information contained in the source code is retained in the byte code.…

    • 3123 Words
    • 13 Pages
    Powerful Essays
  • Satisfactory Essays

    Java is an object-oriented language similar to C++, but simplified to eliminate language features that cause common programming errors. Java source code files (files with a .java extension) are compiled into a format calledbytecode (files with a .class extension), which can then be executed by a Javainterpreter.…

    • 346 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    1.) Deitel, H.M., & Deitel, P.J. (2002). Java: How to program (6th ed.). Upper Saddle River, Nj: Pearson Education.…

    • 382 Words
    • 1 Page
    Good Essays
  • Powerful Essays

    Timetable Generation

    • 1545 Words
    • 7 Pages

    Swing is a widget toolkit for Java. It is part of Sun Microsystems' Java Foundation…

    • 1545 Words
    • 7 Pages
    Powerful Essays

Related Topics