History & Features of Java Flashcards
Created in
1991
Created by
James Gosling
originally called
Oak
Originally owned by
Sun Microsystems
Later called java in
1995
abstracted (doesn’t show internal), everything is in form of classes and objects
Object Oriented
large bit to small bit casting
explicit casting
small bit to large bit casting
implicit casting
automatically deallocate/free memory unused objects
garbage collection
automatically deallocated when
-object is referenced to another object
-out of scope determined by open close brace
-when object’s equal to null
imaginary machine emulating software
JVM Java Virtual Machine
key component of the Java platform. It’s responsible for executing Java byte code and translating it into native machine code.
JVM Java Virtual Machine
Result of compilation of javac, machine language that computer understands, independent of computer hardware and OS
Byte code
mechanisms and practices in place to protect Java applications from various security threats
Code Security
Runs a compiled code perform class loading, code verification, and code execution. It contains a set of libraries + other files that JVM uses at runtime.
JRE Java Runtime Environment
Test format of code and checks illegal code
Byte code Verifier
These structures allow you to make decisions in your code based on certain conditions.
Decision Control Structures
also known as loops, are used to execute a block of code repeatedly.
Repetition Control Structures
a block of code that
performs a specific task
Method
refers to the rules and conventions that must be followed when writing Java code
Basic Syntax
are data structures used to store multiple elements of the same data type under a single name.
Arrays
refers to the process of converting a value from one data type to another
Casting
includes byte , short , int , long , float , double , boolean and char.
Primitive data types
such as String , Arrays and Classes
Non-primitive data types