OOP tALAGA

studied byStudied by 5 people
0.0(0)
get a hint
hint

Java Netbeans IDE Function

1 / 83

Tags and Description

84 Terms

1

Java Netbeans IDE Function

Prepares the environment for developing java applications

New cards
2

IDE Full form

Integrated Development Environment

New cards
3

Java Netbeans

Platform to write Java code and applications (Version 7 ngayon)

New cards
4

What does java develop?

Desktop applications, client-server applications, mobile phone applications, games

New cards
5

Java major advantage

Platform independent

New cards
6

Java’s own runtime environment

Java Virtual Machine (JVM)

New cards
7

Current owner of java

Sun Microsystems

New cards
8

What to download?

Java Virtual Machine (JVM) and Java Development Kit (JDK)

New cards
9

Java code to write & extension

Source code wiith .java extension

New cards
10

What compiled the source code?

Another program called Javac that turns it into a Java byte code with .class extension (there should be no present errors)

New cards
11

File that Java Virtual Machine runs

Class file

New cards
12

Java Comments

Grayed out areas with forward slashes (// for single line comments; /* */ for multiline comments and asterisks that the compiler ignores

New cards
13

Javadoc comments

Starts with /** ends with */ to document the code (converted to HTML)

New cards
14

Java is case sensitive

True

New cards
15

Java code instructions end with a

Semicolon (;)

New cards
16

public class MyFirstProgram { }

Class segment notes the starting and ending of a java class segment code

New cards
17

Public static void main(String[] args){ }

Method

New cards
18

Public in “public static void main(String[] args){

the code can be accessed outside the class without creating new objects

New cards
19

Void in “public static void main(String[] args){

This part of the code does not return any value

New cards
20

Main in “public static void main(String[] args){

Denotes starting point of the java program

New cards
21

IntelliSense

NetBeans tries to display a list of available options after “.”

New cards
22

.Jar file (java archive) function

Cleans and builds your project with all necessary files for export if the program needs to be shared; will be put in a dist folder

New cards
23

Data

can be text, numbers, pointers, objects or some specified memory location

New cards
24

How is data accessed

New cards
25

Concatenation

Joining together direct text and a variable

New cards
26

You cannot start with a number for a variable name

True

New cards
27

You cannot have the same variable name with a keyword

True

New cards
28

Variable names can have a space

False

New cards
29

Variable names are not case sensitive

False

New cards
30

Java minimum and maximum value for numbers

+-2147483647 (use double to get a bigger/smaller number)

New cards
31

Operator Precedence

Order in which arithmetic’s operations are executed

New cards
32

Priority in operators

Multiplication & Division > addition and subtraction

New cards
33

Double quotes

String variable

New cards
34

Single quotes

char variable

New cards
35

Import java.util.Scanner; function

Tells java you want to use the scanner class in the util package of java library

New cards
36

Scanner in Import java.util.Scanner;

Class that handles inputs

New cards
37

Util in Import java.util.Scanner;

utility package of the java library where scanner is stored

New cards
38

Scanner variable

Scanner user_input = new Scanner (System.in);

New cards
39

New in Scanner user_input = new Scanner (System.in);

Creates the new objects

New cards
40

System.in in Scanner user_input = new Scanner (System.in);

Specifies for system input

New cards
41

User_input in Scanner user_input = new Scanner (System.in);

TThe variable that is called to call the input methods

New cards
42

Next method in Scanner user_input = new Scanner (System.in);

Gets the next string of text or int of number that a user types

New cards
43

Println

Cursor moves to a new line after the output

New cards
44

Print

Cursor stays on the same line

New cards
45

If statement format

if(Condition {//codes to be executed if true}

New cards
46

Comparison Operators

Greater than, < Less than, >= greater or equal to, <= less than or equal to

New cards
47

Logical Operators

&& AND, || OR, == HAS A VALUE OF, ! NOT

New cards
48

If else statement structure

if(condition){code to be executed} else {code to be executed}

New cards
49

Nested IF statement

IF statement inside another IF statement

New cards
50

Boolean values

One with two choices: True or false, yes or no, 1 or 0

New cards
51

Switch statement definition

Selection statement; value of the expression is

New cards
52

compared with the values of each case; selecting one of many code blocks to be executed

New cards
53

Switch statement structure

switch(your test variable) { case Testing value: statement to be executed; break; default: statement to output if no matching case found; }

New cards
54

Looping/iteration

Repeat execution of statements a number of times; the same statement is being repeated many time over and at some point has to stop

New cards
55

For loop structure

for(initial value; condition; increment/decrement { statements to be repeated if true }

New cards
56

Intial value in for loops

Sets at what number should the repeat process start

New cards
57

Condition in for loops

Repeat should occur only when this condition is true

New cards
58

Increment/decrement

Move the counter forward or backward

New cards
59

Do while loop

do { Statements to execute } while (condition to check); // execution occur before checking of the condition

New cards
60

While loop

executes statements if the condition is true; while(condition) {}

New cards
61

Array definition

list store of values of the same type with specifying type eof data

New cards
62

Index starts at value…

0

New cards
63

Array structure

int[] myNums; [nextline ito] new int[5] to also indicate the size (all index are 0 unless stated)

New cards
64

Multidimensional arrays

arrays of multiple rows and columns (table) // 2 indices // int [][] myNums = new int[5][4]

New cards
65

.length

property of an array that returns the actual length of the array

New cards
66

Object-oriented programming

deals about creating objects that contain both data and functions

New cards
67

Oak

Java’s previous name

New cards
68

1995 by Oracle

Java created

New cards
69

Java requires:

main function that accepts an array of arguments enclosed in a class

New cards
70

Char description and size

nonprintable characters 16bits

New cards
71

Boolean description and size

True or false1 bit

New cards
72

Int description and size

whole numbers 32 bits

New cards
73

Short description and size

smaller than int 16 bits

New cards
74

Byte description and size

network packets 8 bits

New cards
75

Long description and size

larger than int 64 bits

New cards
76

Float description and size

numbers with floating points 32 bits

New cards
77

Double description and size

larger numbers with floating points

New cards
78

Format for declaring variables

New cards
79

Expression/statement function

changes the value of the variable being used in the condition

New cards
80

Continue in loops

the continue statement skips and moves to the end of the iteration

New cards
81

For-each traversal definition

for-each loop cycles through an object collection where type specifies array type and itvar is the iterator variable (accepts elements from beginning to end on eat a time)

New cards
82

For-each traversal format

for(type itvar:collection) statement block

New cards
83

Xvals in for(int xvals []:nums)

one-dimensional array of integers

New cards
84

Arraycopy

method available in the system class that can be used to copy data from one array to another

New cards

Explore top notes

note Note
studied byStudied by 15 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 4 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 73 people
Updated ... ago
5.0 Stars(2)
note Note
studied byStudied by 9 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 56 people
Updated ... ago
5.0 Stars(3)
note Note
studied byStudied by 18 people
Updated ... ago
5.0 Stars(3)
note Note
studied byStudied by 5 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 35972 people
Updated ... ago
4.9 Stars(87)

Explore top flashcards

flashcards Flashcard48 terms
studied byStudied by 47 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard67 terms
studied byStudied by 12 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard36 terms
studied byStudied by 26 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard67 terms
studied byStudied by 79 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard38 terms
studied byStudied by 187 people
Updated ... ago
4.4 Stars(11)
flashcards Flashcard85 terms
studied byStudied by 12 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard59 terms
studied byStudied by 9 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard30 terms
studied byStudied by 13 people
Updated ... ago
5.0 Stars(1)