• Save
Java
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Java

on

  • 1,070 views

 

Statistics

Views

Total Views
1,070
Views on SlideShare
1,061
Embed Views
9

Actions

Likes
0
Downloads
0
Comments
0

2 Embeds 9

http://ictintocurriculum.blogspot.com 7
http://www.slideshare.net 2

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

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 Presentation Transcript

  • 1. Java was born in 1991 and at the beginning its name was Oak. Java was announced in 23 May 1995 on Sun World. On 13 November 2006 Sun Microsystems released it and the Java compiler. On 8 May 2007 SUN released bookcases too. HISTORY
  • 2.
    • The base programming is composed by determined members:
    • variables, that they can be one of this type :string, int, double, long… etc.
    • we can find the main member and where programmer can write operations and/or methods that enclose operations.
    Example of Variables Int a,b=3; Example of main programs: public static void main(String args[]){ _______________________ _______________________ } Example of methods: public int calcolaArea(){ return (base*altezza)/2 }
  • 3. PROGRAMMING TO OBJECT In programming to objects, OOP, as building an object and recalling the name of the class that will contain all variables of request and the methods of the class. To create an object, you need to create a costructor in the class, that can be, for instance, the class’s variables. Example: public class ex{ private int height; public ex(int n){ height=n; } Private is the visibility level,the others are: public,protected,package.