Содержание
- 2. Agenda Introduction to Java Platform. Java SDK Environment and Development Tools for Java applications Eclipse IDE
- 3. Introduction to Java Platform James Gosling, Mike Sheridan, and Patrick Naughton initiated the Java language project
- 4. Introduction to Java Platform Sun distinguishes between its Software Development Kit (SDK) and Runtime Environment (JRE)
- 5. Introduction to Java Platform Specification Java 2 (JDK 1.2) – 1998/1999 (strictfp; collection support; Swing; GUI;
- 6. Platform Components JDK = JRE + Development/debugging tools JRE = JVM + Java Packages Classes(like util,
- 7. Detailed Diagram of Java Components
- 8. http://www.oracle.com/technetwork/java/javase/downloads/index.html Java JDK
- 9. In System Variables enter the variable name as JAVA_HOME and the variable value as the installation
- 10. java -version Install Java
- 11. public class Example { public static void main(String[ ] args) { System.out.println("My first program"); } }
- 12. Java JDK Example.java javac.exe Example.java Compile java.exe Example JVM Bytecode jar cvfm Example.jar Manifest.mf Example.class java
- 13. For Compile: javac Example.java Output file: Example.class For Running: java Example Exception in thread "main“ java.lang.NoClassDefFoundError:
- 14. public class ShowArgs { public static void main(String[ ] args) { for (int i=0; i System.out.println("Arg
- 15. Some types of data
- 16. Online Java compiler http://www.tutorialspoint.com/compile_java_online.php https://ideone.com/ https://www.compilejava.net/ http://www.browxy.com/ https://www.jdoodle.com/online-java-compiler
- 17. NetBeans began in 1996 as Xelfi (word play on Delphi). In 1997 Roman Staněk (Charles University
- 18. JCreator is a Java IDE created by Xinox Software. Its interface is similar to that of
- 19. Eclipse
- 20. Eclipse
- 21. Java package is a mechanism for organizing Java classes into namespaces. Programmers also typically use packages
- 22. imports all classes from the package import java.awt.event.*; imports only the ActionEvent class from the package
- 23. java.lang – basic language functionality and fundamental types java.util – collection data structure classes java.io –
- 24. Package names and type names usually differ. package Vector; public class Mosquito { int capacity; }
- 25. To input value during the run time you can use BufferedReader br = new BufferedReader( new
- 26. package com.edu; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[]
- 27. Create Console Application project in Java. In method main() write code for solving next tasks: Define
- 28. HomeWork (online course) Please register on UDEMY course "Java Tutorial for Complete Beginners": https://www.udemy.com/java-tutorial/ Complete lessons
- 29. Install JDK and Eclipse. Create Java project. Create console application. In method main() write code for
- 31. Скачать презентацию