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
  • 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
  • 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
  • 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

    pt1420 assignment 1

    • 728 Words
    • 3 Pages

    Programming language is a vital and essential part of computers. Even though you do not actually see these languages, they are the bases and make up of software programs. Software is essential to a computer because without software, a computer can do nothing. All of the software that we use to make our computers useful is created by individuals known as programmers; these programmers use different types of programming languages to develop software programs. The first primitive programming language was actually created for the invention of the ‘difference engine’. This invention created in 1822 by Charles Babbage was a mechanical calculator that would tabulate polynomial functions.…

    • 728 Words
    • 3 Pages
    Good Essays
  • Better Essays

    Object Oriented Programming, models the way people think about and deal with the world. In the tradition styles of programming, a sequence of instructions were used to perform a computer task called out in a program. Object-oriented programming uses objects. These objects have behaviors, hold information, and can interact with objects in one or more classes (Farrell, 2011).…

    • 624 Words
    • 3 Pages
    Better 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

    * Programming is the process of turning the system design specification in to computer code.…

    • 297 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

    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
  • 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