Recent Posts
-
Input a time from the keyboard and output its next second
The code is as follows: import java. util. Scanner; Class demo9 {public static void main (string [] args) {scanner SC …… -
Calculate current time
The code is as follows: /*Practice calculating the current time using system Currenttimemillis() calculates the curren…… -
Practice angry birds (abstract classes, polymorphism, rewriting)
The code is as follows: //Birds: Public abstract class bird {/ / birds can fly, but birds of different colors can fly …… -
Java realizes the addition, deletion, modification and query code of ES database
import com.alibaba.fastjson.JSONObject; import org.elasticsearch.action.bulk.BulkRequest; import org.elasticsearch.act…… -
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…… -
Define a date class: including three member variables: year, month and day, and the method of displaying the date
*/ The code is as follows: public class Demo { public static void main(String[] args) { Date date1=new Date(1994,5,22)…… -
Abstract classes are used as parameters and return values of methods
Abstract class animal: public abstract class Animal { public abstract void eat(); } Subclass cat: Subclass dog: Public…… -
Android development today reported errors and Solutions
I wrote a few files of registration and login functions in another project. There was a problem when I wanted to combi…… -
Android imports data into existing excel tables_ 0
Download address of jxl2.6.12 jar package used: https://mvnrepository.com/artifact/net.sourceforge.jexcelapi/jxl/2.6.12 -
Android—-java.lang.NullPointerException:—java.lang.NullPointerException:
2021-03-06 13:26:12.274 8544-8544/com.example.helloworld E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.…… -
Android development data visualization – import data into Excel
Now it's 2021-03-12 00:: 39 A small part of the software has just been completed. Now the problems are summarized as f…… -
Use of Android alertdialog dialogue panel — Android Development
The result of the above code is shown in the figure. Briefly record the usage of alertdialog: The following is organiz…… -
Simple summary of Android toast
Old rules, let's start with the renderings It mainly implements several common methods: The built-in toast of the syst…… -
There are differences between SP, DP and PX in layout files
As we all know, there are many Android manufacturers, and Android phones and tablets of various sizes emerge in endles…… -
Use of Android WebView (super detailed usage)
Android WebView is a special view on the Android platform. It can be used to display web pages. This WebView class can…… -
EditText usage details
This article mainly introduces some knowledge points in Android development. By reading this article, you will gain th…… -
Introduction to android.bp file
Android.bp is a configuration file used to replace android.mk, which uses the blueprint framework to parse. Blueprint …… -
Analysis of connection process between Android application and surfaceflinger service
Analysis of connection process between Android application and surfaceflinger service Invalid Sign From the previous a…… -
Layoutinflator (layout service) in Android
This section continues to bring the LayoutInflater (layout service) in the Android system service. When it comes to la…… -
Basic use of alertdialog for Android
Frankly, I don't use alertdialog much in my work, because the style of alertdialog is relatively fixed and rigid. In o…… -
Overview of the relationship between Android application and surfaceflinger service and learning plan [turn]
Turn from https://blog.csdn.net/luoshengyang/article/details/7846923 The surfaceflinger service is responsible for dra…… -
Android listview
Listview is one of the most commonly used controls in Android. It is used by almost all applications, so it is importa…… -
Introduction to Android system service
We often use a variety of system management services during Android development, such as window management service Win…… -
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…… -
java. langNoClassdefFoundError & java. lang.ClassNotFoundException
Today, my little friend encountered a problem, The exception information is as follows: java.lang.NoClassDefFoundError…… -
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…… -
Basic Java syntax — a picture of all (Part 2)
This diagram includes reference data types (classes), methods, ArrayList collection, use of eclipse development tools.…… -
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…… -
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…… -
Springboot startup process
Springboot boot Spring Boot通常有一个名为*Application的入口类,在入口类里有一个main方法,这个main方法其实就是一个标准的j…… -
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…… -
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……