Презентация Java Core Introduction онлайн
На нашем сайте вы можете скачать и просмотреть онлайн доклад-презентацию на тему Java Core Introduction абсолютно бесплатно. Урок-презентация на эту тему содержит всего 30 слайдов. Все материалы созданы в программе PowerPoint и имеют формат ppt или же pptx. Материалы и темы для презентаций взяты из открытых источников и загружены их авторами, за качество и достоверность информации в них администрация сайта не отвечает, все права принадлежат их создателям. Если вы нашли то, что искали, отблагодарите авторов - поделитесь ссылкой в социальных сетях, а наш сайт добавьте в закладки.
Презентации » Устройства и комплектующие » Java Core Introduction
Оцените!
Оцените презентацию от 1 до 5 баллов!
- Тип файла:ppt / pptx (powerpoint)
- Всего слайдов:30 слайдов
- Для класса:1,2,3,4,5,6,7,8,9,10,11
- Размер файла:951.00 kB
- Просмотров:71
- Скачиваний:0
- Автор:неизвестен
Слайды и текст к этой презентации:
№3 слайд
![Introduction to Java Platform](/documents_6/f3cfc7ac8113c3879d8900a58fd0d27d/img2.jpg)
Содержание слайда: Introduction to Java Platform
James Gosling, Mike Sheridan, and Patrick Naughton initiated the Java language project in June 1991.
The language was initially called Oak after an oak tree. Now, Java it is the name of a platform and language.
Java applications are typically compiled to bytecode (class file) that can run on any Java Virtual Machine (JVM) regardless of computer architecture.
The original and reference implementation Java compilers, virtual machines, and class libraries were developed by Sun from 1995 (May 23, 1995, Java 1.0).
With the advent of Java 2 (JDK 1.2, released initially as J2SE 1.2 in December 1998–1999), new versions had multiple configurations built for different types of platforms.
№4 слайд
![Introduction to Java Platform](/documents_6/f3cfc7ac8113c3879d8900a58fd0d27d/img3.jpg)
Содержание слайда: Introduction to Java Platform
Sun distinguishes between its Software Development Kit (SDK) and Runtime Environment (JRE) (a subset of the SDK); the primary distinction involves the JRE's lack of the compiler, utility programs, and header files.
Sun also distributes a superset of the JRE called the Java Development Kit (commonly known as the JDK), which includes development tools such as the Java compiler, Javadoc, Jar, and debugger.
The JDK forms an extended subset of a SDK. In the descriptions which accompany its recent releases for Java SE, EE, and ME, Sun acknowledges that under its terminology, the JDK forms the subset of the SDK which has the responsibility for the writing and running of Java programs.
№5 слайд
![Introduction to Java Platform](/documents_6/f3cfc7ac8113c3879d8900a58fd0d27d/img4.jpg)
Содержание слайда: Introduction to Java Platform
Specification Java 2 (JDK 1.2) – 1998/1999 (strictfp; collection support; Swing; GUI; drag-and-drop; CORBA; Unicode; JIT compiler). Sun renamed new J2 versions as Java EE, Java ME, and Java SE.
Specification Java 5 (JDK 1.5) – September 2004 (enum type is class; generics mechanism, templates analog of C++; foreach; Autoboxing/Unboxing: for example, scalar and wrapper type int – Integer; Javadoc; etc.)
№13 слайд
![Java JDK For Compile javac](/documents_6/f3cfc7ac8113c3879d8900a58fd0d27d/img12.jpg)
Содержание слайда: Java JDK
For Compile:
javac Example.java
Output file: Example.class
For Running:
java Example
Exception in thread "main“
java.lang.NoClassDefFoundError: Example
java -cp "Example.class;" Example
For Creating Java archive:
jar cvfm Example.jar Manifest.mf Example.class
java -jar Example.jar
№14 слайд
![Program Entry Point public](/documents_6/f3cfc7ac8113c3879d8900a58fd0d27d/img13.jpg)
Содержание слайда: Program Entry Point
public class ShowArgs {
public static void main(String[ ] args) {
for (int i=0; i<args.length; i++) {
System.out.println("Arg " + i + " is " + args[i]);
}
}
}
or
public class ShowArgs2 {
public static void main(String[ ] args) {
for (String arg: args) {
System.out.println("Command line arg: " + arg);
}
}
}
№17 слайд
![Environment, Development](/documents_6/f3cfc7ac8113c3879d8900a58fd0d27d/img16.jpg)
Содержание слайда: Environment, Development Tools
NetBeans began in 1996 as Xelfi (word play on Delphi). In 1997 Roman Staněk (Charles University in Prague) formed a company around the project and produced commercial versions of the NetBeans IDE until it was bought by Sun Microsystems in 1999. Sun open-sourced the NetBeans IDE
IntelliJ IDEA is a commercial Java IDE by JetBrains. It is often simply referred to as 'IDEA' or 'IntelliJ'. A 30-day fully functional trial of the IntelliJ IDEA commercial edition for various platforms can be freely downloaded. Also available is an open source Community Edition. The first version of IntelliJ IDEA appeared in January 2001. Community Edition is open-source
№18 слайд
![Environment, Development](/documents_6/f3cfc7ac8113c3879d8900a58fd0d27d/img17.jpg)
Содержание слайда: Environment, Development Tools
JCreator is a Java IDE created by Xinox Software. Its interface is similar to that of Microsoft's Visual Studio. JCreator has two editions: Lite Edition (LE) is freeware and Pro Edition (Pro, 30-days trial). JCreator is only available on the Windows Operating System.
Eclipse is a multi-language software development environment comprising an integrated development environment (IDE) and an extensible plug-in system. It is written primarily in Java and can be used to develop applications in Java and, by means of various plug-ins, other languages including C, C++, COBOL, Python, Perl, PHP, Scala, Scheme and Ruby (including Ruby on Rails framework)
http://www.eclipse.org/downloads/
№21 слайд
![Packages Java package is a](/documents_6/f3cfc7ac8113c3879d8900a58fd0d27d/img20.jpg)
Содержание слайда: Packages
Java package is a mechanism for organizing Java classes into namespaces.
Programmers also typically use packages to organize classes belonging to the same category or providing similar functionality.
A package provides a unique namespace for the types it contains.
Classes in the same package can access each other's package-access members.
package java.awt.event;
№22 слайд
![Packages imports all classes](/documents_6/f3cfc7ac8113c3879d8900a58fd0d27d/img21.jpg)
Содержание слайда: Packages
imports all classes from the package
import java.awt.event.*;
imports only the ActionEvent class from the package
import java.awt.event.ActionEvent;
. . .
ActionEvent myEvent = new ActionEvent();
Classes can also be used directly without an import declaration
java.awt.event.ActionEvent myEvent =
new java.awt.event.ActionEvent();
№23 слайд
![Packages. Java java.lang](/documents_6/f3cfc7ac8113c3879d8900a58fd0d27d/img22.jpg)
Содержание слайда: Packages. Java
java.lang – basic language functionality and fundamental types
java.util – collection data structure classes
java.io – file operations
java.math – multiprecision arithmetics
java.awt – basic hierarchy of packages for native GUI components
javax.swing – hierarchy of packages for platform-independent rich GUI components
The java.lang.* package is available without the use of an import statement.
№24 слайд
![Packages Package names and](/documents_6/f3cfc7ac8113c3879d8900a58fd0d27d/img23.jpg)
Содержание слайда: Packages
Package names and type names usually differ.
package Vector;
public class Mosquito {
int capacity;
}
//- - - - - - - - - - - - - - - - - - - -
package strange.example;
import java.util.Vector;
import Vector.Mosquito;
class Test {
public static void main(String[ ] args) {
System.out.println(new Vector().getClass());
System.out.println(new Mosquito().getClass());
}
}
№25 слайд
![Input data To input value](/documents_6/f3cfc7ac8113c3879d8900a58fd0d27d/img24.jpg)
Содержание слайда: Input data
To input value during the run time you can use
BufferedReader br = new BufferedReader(
new InputStreamReader(System.in));
String text = br.readLine();
int age = Integer.parseInt(br.readLine());
double t = Double.parseDouble(br.readLine());
Or
Scanner sc = new Scanner(System.in);
name = sc.nextLine();
№26 слайд
![My first program package](/documents_6/f3cfc7ac8113c3879d8900a58fd0d27d/img25.jpg)
Содержание слайда: My first program
package com.edu;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(
new InputStreamReader(System.in));
System.out.println("Hello. What is your name?");
String name = br.readLine();
System.out.println("How old are you?");
int age = Integer.parseInt(br.readLine());
System.out.println("Hello " + name);
System.out.println("You are " + age);
}
}
№27 слайд
![Tasks Create Console](/documents_6/f3cfc7ac8113c3879d8900a58fd0d27d/img26.jpg)
Содержание слайда: Tasks
Create Console Application project in Java.
In method main() write code for solving next tasks:
Define integer variables a and b. Read values a and b from Console and calculate: a + b, a - b, a * b, a / b.
Output obtained results.
Output question “How are you?“. Define string variable answer. Read the value answer and output: “You are (answer)".
№29 слайд
![HomeWork Install JDK and](/documents_6/f3cfc7ac8113c3879d8900a58fd0d27d/img28.jpg)
Содержание слайда: HomeWork
Install JDK and Eclipse.
Create Java project.
Create console application. In method main() write code for solving next tasks:
Flower bed is shaped like a circle. Calculate the perimeter and area by entering the radius. Output obtained results.
Define string variable name and integer value age. Output question "What is your name?" Read the value name and output next question: “Where are you live, (name)?". Read address and write whole information.
Phone calls from three different countries are с1, с2 and с3 standard units per minute. Talks continued t1, t2 and t3 minutes. How much computer will count for each call separately and all talk together? Input all source data from console, make calculations and output to the screen.
Скачать все slide презентации Java Core Introduction одним архивом:
Похожие презентации
-
Mathematical functions, characters, and strings. Introduction to Java Programming
-
Javascript: introduction to scripting
-
Java Reflection: A Basic Introduction
-
Multithreading IO Streams Java Core
-
String Regular Expression. Java Core
-
Generic Collections Java Core
-
Arrays Loops. Java Core
-
Conditional statements. Java Core
-
Class and Object. Java Core
-
Introduction to JavaScript. OOP in JavaScript