0% found this document useful (0 votes)
41 views

Java Introduction: Jake R. Ersando

Java was created by James Gosling at Sun Microsystems in 1991. It is a simple, object-oriented, distributed, portable, high-performance, interpreted, robust, secure, and multithreaded language. Java code is compiled to bytecode that runs on a Java Virtual Machine (JVM) on any operating system.

Uploaded by

Eddie Wawaw
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views

Java Introduction: Jake R. Ersando

Java was created by James Gosling at Sun Microsystems in 1991. It is a simple, object-oriented, distributed, portable, high-performance, interpreted, robust, secure, and multithreaded language. Java code is compiled to bytecode that runs on a Java Virtual Machine (JVM) on any operating system.

Uploaded by

Eddie Wawaw
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 9

Java Introduction

Jake R. Ersando
Java History
• created by James Gosling
• Green Team
• Green Project
• in 1991 (Sun Microsystems)
• initially called “Oak”
• in honor of the tree outside Gosling's window
Java Characteristic
• Simple
• Object-oriented
• Distributed
• Architecture Neural
• Portable
• High-performance
• Interpreted
• Robust
• Secure
• Multithreaded
• Dynamic
Simple Code Interpretation
Line 1-5, 8-11, 14-16
Multi line comment

Line 6
Package name;

Line 12
Class header

Line 17
Main Method

Line 18
Program Body
Java Variables
• A variable is an item of data used to store state of objects.

• A variable has a data type and a name. The data


Java Variables
Naming Convention:
• Variable names are case-sensitive.
• Subsequent characters may be letters, digits, dollar signs, or
underscore characters.
• If the name you choose consists of only one word, spell that word in
all lowercase letters.
Java Keywords
Java Primitive Data Types
• Logical – Boolean
• Textual – char
• Integral – byte, short, int & long
• Floating Point – float and double

You might also like