Document directory
Young Generation
Elder Generation
Permanent generation
Heap memory setting principle JVM heap memory is divided into two parts: permanent space and heap space.
Permanent (permanent generation) Stores Java class definition
Document directory
JAVA supports interfaces, and the same callback can be implemented through interfaces. The trick is to define a simple interface and declare a method to be called back.
Of course, you can also register multiple objects of
After years of development, javaframework2.5 has become mature and has become its own bottleneck. When talking about the defects of javaframework2.5, let's first talk about the basic idea of javaframework2.5.
1. Basic Idea of javaframework2.5
The
Http://tech.ccidnet.com/art/3539/20080129/1356639_1.html
Top 10 reasons for choosing JSF not to select strutsOne of my customers does not know whether to use struts or JSF. As you expected, I usually ask: What is the difference between the
Data Structure tutorial (Java description) edited by Xu xiaokai-review abstract 03
Chapter 1 linear table
Sequential storage and operation implementation of linear tables
Public class sequencelist implements list {final int maxsize = 10; // array
Java performance optimization (I)
Huang Weifeng
After the emergence of Java in the middle of 1990s, it attracted some criticism while winning praise. What I have won is mainly the cross-platform operability of Java, the so-called "write once, run
The container in Java can be said to be the most used class except string. Containers can be divided into two types, one is traversal, that is, inheriting the iterable interface, represented by list; the other is non-traversal, represented by map.
In the previous article on Java theory and practice, Brian Goetz, a Java cleaning engineer, explored weak references, which allows you to warn the Garbage Collector that you want to maintain a reference to an object, the object is not blocked from
Basic Features of object-oriented programming: encapsulation, inheritance, and polymorphism. Therefore, the following example uses interfaces, abstract classes, and subclasses.
Animal interface:
package com.taobao.demo;public interface Animal {void
Use struts1, And the actionform class is as follows:
Private string menutype; private clientuser user;... corresponding get and set methods...
The action class is as follows:
Public actionforward execute (actionmapping mapping, actionform form,
Supported Image Distribution inJava. Applet, java. AWT, and Java. AWT. ImagePackage. Each image is represented by a java. AWT. image object. In addition to the image class, the Java. AWT package providesOthersBasic image support, such as drawimage
Java Basics1. What are the features of object orientation?1. Abstraction:Abstraction is to ignore those aspects irrelevant to the current target in a topic, so that you can pay more attention to the aspects related to the current target. Abstraction
1. What is socket?
The so-called socket is also called "socket". It is used to describe the IP address and port and is a communication chain handle. Applications usually send requests to or respond to network requests through "Sockets.
Taking J2SDK-
Implementing Runnable Versus Extending ThreadRather than inherit from Thread, a class can implement the interface java. lang. runnable to allow a thread to be run within it. runnable specifies that only one method be implemented: public void run ()
When multiple threads are interacting with an object, controls need to be in place to ensure that the threads don't adversely affect one another. this chapter deals with issues that can introduce subtle errors in your application. an application
As we all know, the String object is immutable and immutable will cause efficiency problems. When the "+" operator is overloaded for String objects, a New String object is automatically generated.Some people also say that the StringBuilder will be
A heap can be divided into a maximum heap and a minimum heap. The maximum heap is a complete binary tree with the value of> = its left and right children (if any. The minimum heap is the Complete Binary Tree with the value of
The sequence of n
The jsp page encoding method needs to be set in two places:
Here, pageEncoding refers to the encoding method when the jsp file is stored locally. The charset of contentType refers to the encoding used when the server sends the webpage content to
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service