(Learning memo) Java Level 2 measures: Question range

Self-learning notes TBE

Question range

operator

Operators are symbols used in arithmetic and mathematics, such as + (plus),-(minus), = (equal), etc.

① Bit operator (&, ^, |, ~)
② Shift operator (<<, >>, >>>)

Shift each bit of the value of interest to the right or left

③ Assignment operator (& =, ^ =, | =, << =, >> =, >>> =)

Operators used when assigning numbers and letters to variables

④ instance of operator

An operator for dynamically determining the type of an object -Is the object an instance of a class? -Is the object an instance of a child class of a class? · Is the object an instance that implements a particular interface?

⑤ Diamond operator For example List a = new ArrayList (); List a = new ArrayList<>(); Can be abbreviated as

Control statement

Added in Java 8 Writing a program in a lambda expression reduces the amount of code and makes it easier to read.

Classes and inheritance

Class modifier (default), public, final, abstract What is inheritance? Extends Type conversion (cast) this and super Interface implements

Variables and methods

Variable and method modifiers (default), public, protected, private, final, static

What is an override

Redefining a method defined in a parent class in a child class Overrides occur in two or more classes that have an inheritance relationship

What is overload?

Defining methods with the same name in the same class The name is the same, but the number of arguments, the type of arguments, and the order are different.

Generic name

Up to Java SE 6: "generic name" Java SE 7 or later: "Generics"

Collection class

--"List", "Set" and "Map" are prepared as interfaces. --When actually using it, use a class that implements these interfaces. ・ ArrayList of List is often used ・ List ・ ・ ・ Interface ・ ArrayList ・ ・ ・ ・ It is a class that implements List. -A class that implements the interface of the collection framework like ArrayList is called a collection class.

package

Package and classpath Classpath Package definition package Use of package import

Exception handling

Exception definition Exception handling try-catch? Finally throw throws

thread

What is a thread? Creating a thread

Recommended Posts

(Learning memo) Java Level 2 measures: Question range
(Learning memo) Java 2nd grade measures: Question 1 Main points (knowledge)
Java learning memo (method)
Java learning memo (basic)
Java learning memo (interface)
Java learning memo (inheritance)
Java learning memo (data type)
Java learning memo (logical operator)
Java learning memo (abstract class)
Java learning memo (creating an array)
Java learning memo (while statement, do-while statement)
Java learning (0)
Java memo
(Learning memo) Java 2nd grade measures: Q5 main points (calculation results)
(Learning memo) Java 2nd grade measures: Q4 main points (exception handling)
java anything memo
Java Silver memo
For JAVA learning (2018-03-16-01)
Java learning day 5
java, maven memo
Java SE 7 memo
java anything memo 2
Java specification memo
java learning day 2
Java pattern memo
java learning day 1
Java 3rd grade measures Q1 Past question point summary
Learning memo when learning Java for the first time (personal learning memo)
Java development environment memo
Java learning 2 (learning calculation method)
java learning (conditional expression)
java basic knowledge memo
Java Kuche Day memo
Java Learning (1)-Hello World
[Java ~ Method ~] Study memo (5)
java se 8 programmer Ⅰ memo
Java paid private memo
Learning memo 01 (forward / redirect)
JAVA learning history interface
[Java ~ Array ~] Study memo 4
java lambda expression memo
(Memo) Java for statement
Java lambda expression [memo]
[Java] Implicit inheritance memo
java competitive programming memo
[Memo] Java Linked List
[Java Bronze] Learning memo (interface, static method, type conversion, etc.)