Study sets matching "java"

Study sets
Classes
Users

Study sets matching "java"

634 terms
Java
.java
import
class
public
A Java class is described in a text file with a ______ extens…
The ______ keyword defines other classes or groups of classes…
The ______ keyword precedes the name of a class
The name of the class and the file name must match when the c…
.java
A Java class is described in a text file with a ______ extens…
import
The ______ keyword defines other classes or groups of classes…
28 terms
Java
Java
Example of a Java program?
What is a Java bytecode?
Bytecodes
Java is a programming language (audio)
class Hello... {... public static void main ( String[] args )... {…
A Java bytecode is a machine instruction for a Java processor…
(visual)
Java
Java is a programming language (audio)
Example of a Java program?
class Hello... {... public static void main ( String[] args )... {…
31 terms
Java
reserved words or keywords
round off errors
instance variables
application
Words used by java that have a special meaning. They cannot b…
When double values are translated to binary bits information…
identifiers used to descibe the attributes of an object.
A stand-alone Java program stored and executed on the user's…
reserved words or keywords
Words used by java that have a special meaning. They cannot b…
round off errors
When double values are translated to binary bits information…
82 terms
Java
Can a class be declared as final?
Are instance variables assigned a defa…
Can you compare a boolean to an int?
Can the access specifier for an overri…
Yes, a class can be declared final; that is, the class cannot…
Yes, member or instance variables are always given a default…
No, booleans are true and false keywords and nothing else.
More. The access specifier for an overriding method can allow…
Can a class be declared as final?
Yes, a class can be declared final; that is, the class cannot…
Are instance variables assigned a defa…
Yes, member or instance variables are always given a default…
45 terms
Java
java能跨平台的原因
java中数据类型
java原生数据类型
面向对象程序设计三大基本特征
本质原因在于JVM(java virtual machine,java虚拟机)不是跨平台的
①原生数据类型(Primitive Date Type)... ②引用类型(对象类型)[Reference Type]
①整型 int(32位)... ②字节型 byte(表示-128~127之间的256个整数,8位)... ③短整型 short (16…
①封装Encapsulation... ②继承Inheritence... ③多态Polymorphism
java能跨平台的原因
本质原因在于JVM(java virtual machine,java虚拟机)不是跨平台的
java中数据类型
①原生数据类型(Primitive Date Type)... ②引用类型(对象类型)[Reference Type]
634 terms
Java
.java
import
class
public
A Java class is described in a text file with a ______ extens…
The ______ keyword defines other classes or groups of classes…
The ______ keyword precedes the name of a class
The name of the class and the file name must match when the c…
.java
A Java class is described in a text file with a ______ extens…
import
The ______ keyword defines other classes or groups of classes…
Java
reserved words or keywords
round off errors
instance variables
application
Words used by java that have a special meaning. They cannot b…
When double values are translated to binary bits information…
identifiers used to descibe the attributes of an object.
A stand-alone Java program stored and executed on the user's…
reserved words or keywords
Words used by java that have a special meaning. They cannot b…
round off errors
When double values are translated to binary bits information…
99 terms
Java
Programm
Algorithmus
Software
EVA
Der gesuchte Begriff bezeichnet eine Bearbeitungsvorschrift f…
Die Bearbeitungsvorschrift zur Lösung einer Aufgabe wird auch…
Der gesuchte Begriff ist umfassender als der Begriff Programm…
Programme arbeiten mit Daten, die häufig vom Benutzer eingege…
Programm
Der gesuchte Begriff bezeichnet eine Bearbeitungsvorschrift f…
Algorithmus
Die Bearbeitungsvorschrift zur Lösung einer Aufgabe wird auch…
289 terms
Java
If you overwrite clone(), which 3 rule…
Why do we need to implement the Clonab…
What is a marker interface?
How do you clone an object?
1) the new object should be new: memory address should differ…
At runtime it would throw the CloneNotSupportedException if w…
A Marker interface, has no method. ... Serializable, Clonable ar…
MyClone a = (MyClone) c.clone()... - TypeCast is nessesary.... - ha…
If you overwrite clone(), which 3 rule…
1) the new object should be new: memory address should differ…
Why do we need to implement the Clonab…
At runtime it would throw the CloneNotSupportedException if w…
41 terms
JAVA
Why the declaration {String str = "som…
Heap
String Literal Pool
Does declaring an object create it?
Because in case there is already a String object "some text"…
It is the memory area the JVM uses to save information of the…
It is a collection of references to string objects.
No
Why the declaration {String str = "som…
Because in case there is already a String object "some text"…
Heap
It is the memory area the JVM uses to save information of the…
26 terms
Java
What are legal identifiers?
new
instance variable
class variable
After first character, any combo of letters, currency charact…
Operator that instantiates a new class.
non-static field
static field
What are legal identifiers?
After first character, any combo of letters, currency charact…
new
Operator that instantiates a new class.
26 terms
Java
Java
IDE ( integrated Development Environment
JDK (Java Development Kit
Compiler
a versatile class-based object oriented programming language
has smaller development tools (including compiler, editor, de…
a java compiler made by Sun Microsystems
a program which translates source code into a programming lan…
Java
a versatile class-based object oriented programming language
IDE ( integrated Development Environment
has smaller development tools (including compiler, editor, de…
10 terms
JAVA
declare a class
set up main method
declare and initialize string variables
declare and initialize primitive varia…
Public Class MemorizeThis {
Public static void main (string[], args) {
String itemToCheck; itemToCheck = "";
double thisIsDouble; int thisEnter; thisIsADouble=0.0; thisEn…
declare a class
Public Class MemorizeThis {
set up main method
Public static void main (string[], args) {
Java.
The rules that govern the correct orde…
When a program runs on a computer, the…
When a program runs on a computer, it…
When a program is not running, it is s…
Syntax
Central Processing Unit(CPU)
Random Access Memory(RAM)
A disk.
The rules that govern the correct orde…
Syntax
When a program runs on a computer, the…
Central Processing Unit(CPU)
50 terms
Java
What do real world objects contain?
Where is a software object's state con…
Where is a software object's behavior…
Hiding internal data from the outside…
state and behavior
fields (Java) or variables (C++)
methods (Java) or functions (C++)
encapsulation
What do real world objects contain?
state and behavior
Where is a software object's state con…
fields (Java) or variables (C++)
20 terms
Java
Computer program
Logic
Syntax
Program Statement
Set of written instructions that tells the computer what to do
Determines the exact order of instructions needed to produce…
Specific set of rules for the language
Commands that carry out the program tasks
Computer program
Set of written instructions that tells the computer what to do
Logic
Determines the exact order of instructions needed to produce…
Java
Keywords que não podem ser usadas como…
Keywords que não podem ser usadas em J…
Identificador em JAVA
Sobrecarga - Overloading
ASSERT, CONST, ENUM, GOTO, STRICTFP
CONST AND GOTO
usado para dar nome a classe, método, campo, variável e pacotes
Diferente lista de parâmetros: quantidade de parâmetros e/ou…
Keywords que não podem ser usadas como…
ASSERT, CONST, ENUM, GOTO, STRICTFP
Keywords que não podem ser usadas em J…
CONST AND GOTO
java
String s= JOptionPane.showInputDialog(…
fahrtStrecke= Double.parseDouble(s);
JOptionPane.showMessageDialog(... null,"Z…
gui hase= new gui();... hase.setVisible(t…
Fenster öffnen (Pane)
String speichern
Endergebnis anzeigen (Pane)
Gui anzeigen
String s= JOptionPane.showInputDialog(…
Fenster öffnen (Pane)
fahrtStrecke= Double.parseDouble(s);
String speichern
42 terms
java
Tokens
Bugs
Debugging
Method
meaningful units
Errors in computer software
removing a computer bug
A named sequence of a Java statement
Tokens
meaningful units
Bugs
Errors in computer software
java
length
promt
multiplication
division
длина
незамедлительно
умножение
деление
length
длина
promt
незамедлительно
8 terms
Java
Five data types
Mathematical operators
Logical operators
Conditional statement
boolean (t/f)... char (single character - 'anything on the keybo…
-,+,*,/... = is assignment (z = 4;) assigning 4 to the variable…
== equals? LHS equals RHS... < greater than... > less than... <= ... >=... !…
If ( condition)... {... }... else... {... }... Int x = 4;... Int y = 7;... Int z = 0;…
Five data types
boolean (t/f)... char (single character - 'anything on the keybo…
Mathematical operators
-,+,*,/... = is assignment (z = 4;) assigning 4 to the variable…
java
Tokens
Bugs
Debugging
Method
meaningful units
Errors in computer software
removing a computer bug
A named sequence of a Java statement
Tokens
meaningful units
Bugs
Errors in computer software
66 terms
Java
Computer Program
Machine Language
Low-Level Programming Language
High-Level Programming Language
a set of instructions that you write to tell a computer what…
circuitry-level language written in a series of off and on sw…
written to correspond closely to a computer processor's circu…
a programming language that resembles human language to some…
Computer Program
a set of instructions that you write to tell a computer what…
Machine Language
circuitry-level language written in a series of off and on sw…
41 terms
Java
!
!=
%
&&
логическое «отрицание»
оператор «не равно»
остаток от деления
логическое «и»
!
логическое «отрицание»
!=
оператор «не равно»
6 terms
java
legacy
innovative
refinements
extraordinary
di sản
adj/ có tính đổi mới
sàng lọc
adj. /iks'trɔdnri/ đặc biệt, lạ thường, khác thường
legacy
di sản
innovative
adj/ có tính đổi mới
31 terms
Java
reserved words or keywords
round off errors
instance variables
application
Words used by java that have a special meaning. They cannot b…
When double values are translated to binary bits information…
identifiers used to descibe the attributes of an object.
A stand-alone Java program stored and executed on the user's…
reserved words or keywords
Words used by java that have a special meaning. They cannot b…
round off errors
When double values are translated to binary bits information…
Java
argue
It can be argued that
complexity
able
спорить
можно утверждать, что
сложность
способный
argue
спорить
It can be argued that
можно утверждать, что
Java
Display
Assign Input
Declare Input
Tab Characters
System.out.println(" ") ;
Scanner <name> = new Scanner(System.in) ;
import java.util.scanner ;
\t
Display
System.out.println(" ") ;
Assign Input
Scanner <name> = new Scanner(System.in) ;
7 terms
Java
Data Types
Variables
Whitespace
Comments
int, boolean, and char.
used to store values.
helps make code easy to read for you and others.
describe code and its purpose.
Data Types
int, boolean, and char.
Variables
used to store values.
20 terms
Java
double quotes
flexible
scalable
maintainable
one set of double quotation marks, as usually appear around q…
capable of bending easily without breaking
able to be changed in size or scale
to keep in an appropriate condition, operation, or force
double quotes
one set of double quotation marks, as usually appear around q…
flexible
capable of bending easily without breaking
18 terms
Java
Java
Computer Program
How do I run a program?
Compiler
A computer programming language
A program is a set of instructions that tells the computer wh…
Programs are run on a piece of software called a compiler.
A compiler converts the java source code (instructions) into…
Java
A computer programming language
Computer Program
A program is a set of instructions that tells the computer wh…
Java
Method
Class
Instantiation
Reuse
Houses the program statements that perform its tasks.
Houses the set of methods that perform its tasks.
Process of building an object of a class before a program can…
Repeated utilization of a class to build many objects - saves…
Method
Houses the program statements that perform its tasks.
Class
Houses the set of methods that perform its tasks.
Java
SDLC
Planning and Requirement Analysis
Defining Requirements
Designing Product Architecture
Framework for developing tasks at each step in software dev p…
Plan basic project approach, conduct feasibility
Approval of product requirements that are specified in SRS (S…
Defines all architectural modules of product along with commu…
SDLC
Framework for developing tasks at each step in software dev p…
Planning and Requirement Analysis
Plan basic project approach, conduct feasibility
634 terms
Java
.java
import
class
public
A Java class is described in a text file with a ______ extens…
The ______ keyword defines other classes or groups of classes…
The ______ keyword precedes the name of a class
The name of the class and the file name must match when the c…
.java
A Java class is described in a text file with a ______ extens…
import
The ______ keyword defines other classes or groups of classes…
51 terms
Java
operating systems
operating system services
One set of operating system services p…
user interface
provides an environment for the execution of programs
are provided for the convenience of the programmer, to make t…
- user interface... - program execution... - I/O operations... - File…
Almost all operating systems have a user interface (UI)... - co…
operating systems
provides an environment for the execution of programs
operating system services
are provided for the convenience of the programmer, to make t…
70 terms
Java
Assume
Invoke
Certification
Dive
Feltételez
Hív,hivatkozik
Hitelesítés,tanusítvány
Fejest ugrik
Assume
Feltételez
Invoke
Hív,hivatkozik
55 terms
Java
What is a code block?
You can use a for loop to assign conti…
An multi-dimensional array can be decl…
Circle all that apply for Border Layout
Blocks of code in between curly brackets... {... }
True
True
Components do not keep their preferred size... You can add mor…
What is a code block?
Blocks of code in between curly brackets... {... }
You can use a for loop to assign conti…
True
22 terms
Java
Object
Class
Java
Reach... (Features)
A software bundle of variables and related methods.
A blueprint or a prototype which defines all the variables an…
It is an object oriented, simple, portable, distributed, robu…
-reuse ability of code, emphasis on data , add data and funct…
Object
A software bundle of variables and related methods.
Class
A blueprint or a prototype which defines all the variables an…
Java
Encapsulation
Class
Object
Default constructors
The packing of data and functions into single component. Bond…
A blueprint or a template for creating different objects whic…
Instance of a class. Have states and behaviors
A constructor with no argument
Encapsulation
The packing of data and functions into single component. Bond…
Class
A blueprint or a template for creating different objects whic…
20 terms
Java
1. A(n) -______- allows the applicatio…
13. A(n) -______- allows the applicati…
2. A(n) -______- is called when an obj…
4. The -______- is where the program b…
Accessor Method Call
Mutator Method
Default Constructor
main Method
1. A(n) -______- allows the applicatio…
Accessor Method Call
13. A(n) -______- allows the applicati…
Mutator Method
Java
1. What is the range of data type shor…
a) -128 to 127
b) -32768 to 32767
c) -2147483648 to 2147483647
...
...
...
...
1. What is the range of data type shor…
...
a) -128 to 127
...
31 terms
Java
A class in the Java API
Java libraries
add()... remove()
indexOf()... size()
What is an ArrayList?
What is the Java API?
add something to ArrayList... remove something to ArrayList
find out where something is in ArrayList... get number of elemen…
A class in the Java API
What is an ArrayList?
Java libraries
What is the Java API?
54 terms
Java
import java.util.
//
/*
public
imports java libraries
single line comment
multi-line comment
anyone can access it
import java.util.
imports java libraries
//
single line comment
95 terms
java
COMPUTER
HARDWARE
SOFTWARE
CPU
A machine that performs a variety of tasks according to speci…
tangible part of the computer and composed of electronic and…
Intangible part of a computer and consists of data and the co…
-Central processing unit... -the "brain" of the computer... - It do…
COMPUTER
A machine that performs a variety of tasks according to speci…
HARDWARE
tangible part of the computer and composed of electronic and…
Java
The seven data types in Java are: b___…
Java's two preferred number data types…
A byte is _____ bits wide.
A char is _____ bits wide.
byte char boolean int long float double
int double
1
2
The seven data types in Java are: b___…
byte char boolean int long float double
Java's two preferred number data types…
int double
31 terms
Java
reserved words or keywords
round off errors
instance variables
application
Words used by java that have a special meaning. They cannot b…
When double values are translated to binary bits information…
identifiers used to descibe the attributes of an object.
A stand-alone Java program stored and executed on the user's…
reserved words or keywords
Words used by java that have a special meaning. They cannot b…
round off errors
When double values are translated to binary bits information…
41 terms
Java
What is a package?
What is an import?
What is a class?
What is a field?
A logical grouping of similar types into namespaces. Helps pr…
Allows you to use a package so that classes can be used in th…
Represents a type template having properties and methods. Is…
Represents a member used for holding values. Can be a class,…
What is a package?
A logical grouping of similar types into namespaces. Helps pr…
What is an import?
Allows you to use a package so that classes can be used in th…
35 terms
java
AJAX
Ajax interactions are
Ajax interactions are initiated by
When the Ajax interaction is complete
Asynchronous JavaScript and XML
handled asynchronously in the background.
JavaScript code
JavaScript updates the HTML source of the page
AJAX
Asynchronous JavaScript and XML
Ajax interactions are
handled asynchronously in the background.
Java
int
boolean
char
What are three fundamental data types…
Short for integer, which are all positive and negative number…
A data type that can only be either true or false.
Short for character and can represent a single character.... An…
The int, boolean, and char.
int
Short for integer, which are all positive and negative number…
boolean
A data type that can only be either true or false.
12 terms
Java
System.out.println();
System.out.print()
int
double
Prints the given string to a new line in the console.
Appends the given string to the currently selected line in th…
Defines a new whole number variable
Defines a new decimal variable
System.out.println();
Prints the given string to a new line in the console.
System.out.print()
Appends the given string to the currently selected line in th…
1 of 10