Click to enter _ more _java thousand ask 1, what is the data type
The Java language is statically typed (statical typed), in other words, the type of all variables and expressions is completely determined when compiled. Because it is
Click to enter _ more _java thousand ask1. What is the structure of the JVM instance?In the Java Virtual Machine specification, the behavior of a virtual machine instance consists of subsystems, memory regions, data types, and directives.These components describe an abstract structure inside the JVM. The purpose of these components
Click to enter _ more _java thousand ask1. What is a jar?The JAR (Java Archive) is a platform-independent file format. Can contain multiple files, several Java applets and their necessary components (. class files, pictures, sounds, and so on) can be packaged in a jar file.L
Click to enter _ more _java thousand questions
What is the difference between a local variable, a class variable, and an instance variable
Before we talk about the difference between local variables, class variables, and instance variables, we need to look at Java variables.
1, what
《 Here are the answers from Madai and Clkrst. my question is, what does the: java interface do? 1, read from the book is the Java Program interface only defines constants and empty methods, what
Click to enter _ more _java thousand ask1. What is value passingValue delivery is the transfer of a value stored in a storage unit in memory space to another storage unit. (storage units in Java are not addresses of physical memory, but have dependencies)For example://定义了一个改变参数值的函数publicstaticvoidchangeValue(int x) {??
Class classes are implementations that define a particular class in the Java language. The definition of a class contains the member variables, the member methods, the interfaces that the class implements, and the parent class of the class. The object of the class class is used to represent classes and interfaces in the currently running Java application. For exa
What is the difference between an Ear, Jar, and war file? What kind of environment they are used separately.
In the file structure, the three are not different, they are in the zip or jar file compression format. But they are used for different purposes:
Jar file (with the extension. Jar) contains common libraries, resources, and auxiliary files (auxiliary files)
object, the object is called the Unreachable object (the surviving object, the object cannot be reclaimed). Otherwise, the unreachable object can be recycled.
2, how to clean up the new generation of garbage
Garbage Cleanup Algorithm
The new generation of garbage collectors often assume that most objects have a very short survival time, with only a few objects surviving longer. According to this assumption, the new generation of garbage removal algor
From: http://blog.csdn.net/hlf48641715/archive/2008/12/25/3605789.aspx
Several Java objects (PO, Vo, Dao, Bo, pojo)I. Po: persistence object of persistant object. It can be regarded as a Java object mapped to a table in the database. The simplest Po is to correspond to a record in a table in the database. A set of PO can be used for multiple records. The PO shou
(Exception e) {System.out.println (E.getmessage)) finally{SYSTEM.OUT.PRINTLN ("finally Running");//No matter what happens to the program, finally code blocks are executed.} SYSTEM.OUT.PRINTLN ("program running Here");}}1. The program is matched according to the type of exception. Automatically enter the appropriate catch statement. Exception should be placed after other exception statements, because they
I am a beginner in PHP. I have bought a java manual and haven't started to read it yet. This statement has made me very excited. I really want to know the specific situation. I am a beginner in PHP. I have bought a java manual and haven't started to read it yet. This statement has made me very excited. I really want to know the specific situation. Reply: "Father, forgive them for they don't know
Click to enter _ more _java FAQ-base Class Library1, util package has what functionThe Java.util package provides the underlying tools classes in Java. Includes base classes such as the basic Set framework and common tool classes. Main classes such as:?The Java.util package is broadly divided into two categories: collections, tools, and the following are some of
1> the reflection mechanism of Java is seldom used in the normal business development process, but it is widely used in the construction of some basic framework.2> What is the Java reflection mechanismThe
What is a byte code?Bytecode can also be said to be a language, or an operational primitive that communicates with the operating system. The purpose of bytecode is actually to shield operating system differences, operating system differences to the professional virtual machine developers, they want to ensure that their development of virtual machines compatible w
memory space resources, so that other variables to use it. In C + +, it is up to the programmer to release the memory space of the unused variables. This means that when a programmer thinks a variable is useless, it should write a code that frees up the memory it occupies. This minimizes memory leaks and resource waste.But this is obviously very cumbersome. Prog
Click to enter _ more _java thousand ask1, >, >>, >>> what is the differenceSee Java operators here: What are the operators of JavaUnderstanding Java Operator Precedence See here: What is
I often hear about IOC and spring. What is IOC?
IOC can be understood as an implementation method of 'interface-Oriented Programming ide'. IOC implements mandatory 'interface-Oriented Programming '.
Spring forcesProgramImplement the class according to the architect's idea.
For example, the architect designs three business objects: users, data pools, and data elements. Architects want these three
Click to enter _ more _java thousand ask1. What are the annotations?Annotations in Java (Annotation), also called metadata. is a feature introduced in later versions of Java 5.Annotations and classes, interfaces, enumerations are at the same level, can be used to label packages, classes, fields, methods, local variable
What is the fastest Garbage Collector in Java 8?
OpenJDK 8 has multiple GCGarbage Collector) algorithms, such as Parallel GC, CMS, and G1. Which one is the fastest? What if I change the default GC of Java 8 from Parallel GC to G1
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.