Java
-
Implementation of random roll call device
The code is as follows: /** random roll call: * 1 Store name * 2 Preview owner's name * 3 Randomly choose a person's n…… -
Calling exercise of construction method in word parent class
Person class: (parent class) Public class person {private string name; private int age; public person() {this ("Li Si"…… -
About troubleshooting: the main class cannot be found or loaded. Reason: Java Method of lang.classnotfoundexception
The JDK is configured and the code @ h is written_ 419_ 1@ @H_ 419_ 1@ @H_ 419_ 1@ javac Hello. Java also successfully…… -
Date class and its methods
The code is as follows: import java. text. SimpleDateFormat; import java. util. Date; Public class datedemo {/ / get t…… -
Serialization and deserialization of objects
Person_ Class 1: import java. io. Serializable; public class Person_ 1 implements Serializable { private String name; …… -
Practice complete employee classes
Employee class: /** employees* Extraction of commonness * name, number, working method (Abstract) * / public class emp…… -
Enter an integer from the keyboard and judge whether it is positive, negative or 0
The code is as follows: import java. util. Scanner; Class demo7 {@ h_419_10 @ public static void main (string [] args)…… -
Is already under version control SVN — two methods
Delete all Svn hide folders. You can use the command line under Linux. Delete in the project under windows. http://blo…… -
How to rank nulls after dates in the database
Original link: http://blog.csdn.net/ideality_hunter/article/details/70846521 -
Java basic syntax — what is API — regular expression
regular expression Is a regular expression that operates on string data Rule: it is composed of some symbols, and eac…… -
Springboot + profile (read different configurations in different environments)
Original link: Specific methods: -
Java parsing JSON file method — direct copy can be used
Original link: http://blog.sina.com.cn/s/blog_628cc2b70101dydc.html Exception in thread "main" net. sf. json. JSONExce…… -
The encoding method is set to UTF-8 in eclipse, but it is not changed when creating the properties file
Reprint: coding of properties file in eclipse Original link: coding of properties file in eclipse 2. Format conversion…… -
The project: namexxx which is referred by the classpath, does not exist?
Create a new workspace, create a java file, output HelloWorld to test, and make an error as soon as it comes up! Solut…… -
Full English name of Linux commands — helpful for memory
Original link: http://blog.csdn.net/alex_sym/article/details/7409566 -
Springboot startup process
Springboot boot Spring Boot通常有一个名为*Application的入口类,在入口类里有一个main方法,这个main方法其实就是一个标准的j…… -
Several methods of obtaining the current time in Java
import java.util.*; public class D { public static void main(String []abc) { in…… -
How to open it Why does this is a multi part message in mime format appear when I open a file in MHT format?
Background: TIP: 1. Open C: \ program files (x86) \ Internet Explorer 2. Win + X P control panel Programs and functi…… -
The encoding method is set to UTF-8 in eclipse, but it is not changed when creating the properties file
Reprint: coding of properties file in eclipse Original link: coding of properties file in eclipse 2. Format conversion…… -
Editor does not contain a main type error message. How to solve it?
I am trying to run some java files in a new project. so I make the project,put the files in it and I try to RUN the ma…… -
Configure the web modules on this server, auto reloading enabled
Original link: https://www.cnblogs.com/xsmhero/p/4070508.html -
Basic Java syntax — a picture of all (Part 2)
This diagram includes reference data types (classes), methods, ArrayList collection, use of eclipse development tools.…… -
nginx:[emerg] bind<>to 0.0. 0.0:80 failed <10013: An attempt was made to access a s ocket
Problem description Method 1 (most of them say so on the Internet) Method 2 (the first method tried, no!) This article…… -
What is javase, written for people who first come into contact with Java
Fundamentals of Java syntax Build java development environment Java overview Javase is the standard version of Java cl…… -
Java basic syntax — understanding of variable operator
variable Variable overview Variables must have clear types, what types of variables are installed in what types of dat…… -
java. langNoClassdefFoundError & java. lang.ClassNotFoundException
Today, my little friend encountered a problem, The exception information is as follows: java.lang.NoClassDefFoundError…… -
Static code block, construction code block and ordinary code block – the execution order and difference of the three
Original link: http://www.cnblogs.com/sophine/p/3531282.html -
Creating Maven projects in eclipse cannot add source folders such as Src / main / Java
Original link: https://www.cnblogs.com/FocusIN/p/6629244.html Yesterday, after cloning code on GIT and generating mave…… -
Dubbo timeout configuration
Problem statement: There is a problem in the work. Service 1 calls service 2 through Dubbo. The problem is that the fi…… -
Tddl: distributed data layer from taobao
Taobao has developed the tddl (Taobao distributed data layer) framework according to its own business needs, which is …… -
Java array to list, so it’s like this — there’s a trap!
In recent development, the aslist method is often used for business processing, which reminds me of many places that a…… -
Data transfer: XML & JSON what you have to know
XML Basic concepts Syntax format of XML XML parsing method Dom4j usage example Generate XML Basic concepts Conversion ……
