How to install javafx plug-ins on eclipse
The installation method provided in this article is applicable to jdk1 Users of version 8 (with the method and configuration of installing jdk1.8)
First of all, I need to explain
Because jdk1 8 has javafx, so we don't need to download the plug-ins related to javafx, just install jdk1 8 is enough
1.jdk1.8 Download and configuration ...
Posted by plowter on Tue, 08 Mar 2022 05:32:22 +0100
New features of Java 8 -- lambda expression and Stream class
New features of Java 8 -- lambda expression and Stream class
1, lambda expression
Lambda expression itself is the implementation of an interface. Lambda expression is a new feature of JDK8. It can replace the anonymous inner class of the interface and write more elegant Java code (equivalent to syntax sugar). If you want to use lambda to simp ...
Posted by noodle on Sun, 06 Mar 2022 11:34:37 +0100
Chapter 2 fundamentals of Java language
catalogue
2.2 variables and constants
Example 2.1 declare a double constant, assign a value to the constant, and use the constant for calculation.
2.3 basic data type
Example 2.2 assign values to int variables according to decimal, octal and hexadecimal
Example 2.3 shows the error result of 4.35 * 100 and gives the solution.
Example 2.4 c ...
Posted by dvayne on Sat, 05 Mar 2022 00:31:35 +0100
Chapter 3 array
catalogue
1, Concept of array (including some shortcut key usage)
2, Two dimensional array
III. Arrays tools
4, Array exception
1, Concept of array (including some shortcut key usage)
A collection of multiple data of the same type arranged in a certain order
1. Characteristics of array: 1) orderly arrangement 2) the array is a varia ...
Posted by Ekano on Sat, 26 Feb 2022 08:59:25 +0100
Bitmap addition and subtraction multiplication and division
Bitmap addition and subtraction multiplication and division
Let's briefly explain what our bitmap is
First of all, we can't avoid storing data in many cases during data processing. At this time, we will open up memory to create arrays to store our data
But let's take shaping as an example. int takes up 4 bytes of space,
Suppose I want t ...
Posted by StirCrazy on Thu, 24 Feb 2022 17:43:38 +0100
eclipse learning (Chapter 2: getting to know ssh) - 23 Struts integration Tiles
preface
This article is a reference from https://www.w3cschool.cn/struts_2/struts_tiles.html Make a practice log.
jar package download address
Please go to the website to download the relevant jar package and download an all version https://struts.apache.org/download.cgi
Initialization project and jar package pull
Here you need to unzi ...
Posted by pcwizzzz on Wed, 09 Feb 2022 07:09:51 +0100
Blue Bridge Cup Java -- algorithm training
catalogue
1. Seal
2. Take gold coins
3. Digital game
1. Seal
Problem description
There are n kinds of seals with the same probability of occurrence. Xiao A bought m seals and asked for the probability of collecting n seals.
Input format
Two positive integers n and m in a row
Output format
A real number P represent ...
Posted by littlejay on Sat, 05 Feb 2022 10:56:46 +0100
Random Name Caller Case
Case description:
Random Name Caller, that is, a classmate's name is printed out randomly in the whole class. To make a random roll caller, it has the following three contents: Store names of all students Print the name of the whole class Randomly name one of them and print to the console
Case Study:
Print out a student's name randomly in th ...
Posted by Stinger51 on Fri, 04 Feb 2022 18:37:48 +0100
My bulk JAVA: Maven version Hello World
preface
There is a lot of writing ahead, and there is no CTRL+Z
Less nonsense, or put this "Hello World!" Finish it.
Java's "Hello World!" As follows:
class HelloWorldApp {
public static void main(String[] args) {
System.out.println("Hello World!"); // Display the string.
}
}
This code is copied fr ...
Posted by kotun on Fri, 04 Feb 2022 13:37:11 +0100
Advanced Java programming knowledge - 10. IO flow
10.1 File class
java. io. An object of the file class that represents a file or file directory Constructor creates a File instance:
File(String filePath)File(String parent, File child)File(File parent, String child) Path separator:
windows and DOS systems use "\" by default UNIX and URL s are represented by "/&quo ...
Posted by svenski on Sat, 22 Jan 2022 19:34:47 +0100