Java Development Environment

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

Environments required to run Java

JDK, JRE & JVM (compilers, Interpreters and runtime environment) Development Tools Notepad/Wordpad RAD (Rapid Application Development ) tools Notepad/Wordpad Eclipse, JBuilder, Net Beans, JDeveloper etc)

What is JDK

Java Development Kit A set of development tools used to develop and test java programs. Used to develop, compile and execute programs.

What is JRE

Java Runtime Environment A set of libraries that are required when running a java program. Used to execute programs.

What is JVM?

Java Virtual Machine Software that interprets bytecode. It's platform dependent

Java

Object Oriented Programming language Focused on modeling data. Platform Independent Multithreaded Interpreted Secure, Robust, Simple

What are the steps involved in creating, compiling and running a java program?

1. Write source code (program) 2. jvac compiles source code (converts) into bytecode 3. bytecode is interpreted/executed by the JVM 4. If there are no errors output will be displayed, otherwise go back and modify source code and repeat steps 2 -4.

Java Virtual Machine Model

1.Source code 2. Compliler 3. bytecode 4. JVM INTERPRETS BYTECODE 5. System (platform independent0

The Cnventional Model of other programming languages

1.source code 2. compiler 3. object code 4.System(platform dependent)

How many JDK editions are there?

3 Java Standard Edition (J2SEE)- can be used to develop client-side standalone applications or applets. Java Enterprise Edition(J2EE)- can be used to develop server-side appliations such as Java serlets and Java Server Pages. Java Micro Edition(J2ME)- can be used to develop applications for mobile devices such as cell phones.

How many JDK versions are there?

9

What are some benefits of programming in Java?

Easy to learn no previous experience required Write less code Write better code can reuse other peoples code with fewer bugs(api) avoid memory leaks (garbage collection) platform independent Keep program portable Write once, run everywhere can run on any Java platform

What are some features of Java language?

Syntax is similar to C++ Classes and objects Information hiding/ access control Inheritance, method overriding Polymorphism Abstract methods and classes Interfaces NO POINTERS Built in memory management(GARBAGE COLLECTION)

What parts make up the anatomy of a java program?

comments reserved words modifiers statements blocks classes methods the main method

What is javac?

javac is the Java compiler.


Set pelajaran terkait

Unit 10 Political Parties and Elections Quiz

View Set

Live Virtual Machine Lab 7.4: Module 07 Load Balancing and NIC Teaming

View Set

Portfolio Risk and Return Part II

View Set

Davis Edge PHARM 3 Opioid practice test questions

View Set

5.3.11 Troubleshoot Physical Connectivity

View Set

Personal Nutrition: The Fat Soluble Vitamins

View Set

ART 1113- Art Appreciation Midterm

View Set