This is the topic discussed during the last interview and is recorded.
Glossary: Super/FINAL/preparedstatement/entitymanager
Differences between abstract classes and interfaces
Role of Annotation
Design and implement a set list and delete
1. Package access permissions:
2. virtual functions in Java: virtual functions are dynamically bound. in Java, except static methods and final and privateOther methods can be considered as virtual functions, and child classes can override the
Transferred from:Http://www.blogjava.net/vesung/archive/2008/01/24/177447.html
Implementation of a simple requirement:InProgramAnd returns the result println.Implementation Method:
Methodtest. Java
Import
Java. util. arraylist;
Import
Source: http://blog.csdn.net/mydream83/archive/2007/02/18/1511639.aspx
I have been in the company for two months, and I have been in the group for more than one month. This is my first job and the first project. So I decided to keep a text
When I first started learning Java, I didn't know what software to use. I was confused and found some software on the Internet, but I still couldn't run it after installation. After the installation is difficult, you can record the installation
Recently, I have been studying the s2sh development framework. After reading the three parts separately, I started to integrate them. I found that the hibernate high version has improved many functions, leading to some discrepancies with the methods
Http://publish.it168.com/2005/0820/20050820006201.shtml
Most people think that the meaning of an interface is to replace multiple inheritance. As we all know, Java does not have the multi-Inheritance Mechanism like C ++, but it can implement
The system class represents the system. Many system-level attributes and control methods are placed inside the class. This class is located in the Java. lang package.
Because the constructor of this class is private, you cannot create an object of
Scope of the variables in Java:
1. Class Attribute, or value range
2. Local variables in the Method
3. method parameters
For the first variable, the Java Virtual Machine will automatically initialize it. If an initial value is given, the
Java generic (generics) is a new feature introduced in JDK 5. It allows you to use type parameter when defining classes and interfaces ). The declared type parameter is replaced by a specific type during use. The main application of generics is in
1. download and install the jdk-6u17-linux-x64-rpm.bin, and modify the Java path and PATH variable;
2. Download installation httpd-2.2.14
The compilation and installation commands are as follows:
./Configure -- prefix =/usr/local/apache2 --
Purpose
The consumer of the class library can use the changed and unchanged items separately.
Package: Library Unit
When writing a Java source code file (compilation unit: One. java files), each compilation unit has only one public class, and the
When I checked the information today, I suddenly found that the Java language was ten years old.Background: Sun Microsystems released Java in sunworld 95 on September 10, May 23, 1995. Over the past decade, Java has been developing so rapidly, as Mr
Java generics are similar to common classes in the form of code introduction. They can be used to declare object and method parameters and return value types, or even force type conversion. Therefore, it is easy to mistakenly think that the generic
Distributed Java applications: BasicsAnd practices
Basic Information
Author: Lin HaoPress: Electronic Industry PressISBN: 9787121109416Mounting time:Published on: February 1, June 2010Start: 16Page number: 274For more details, see:
Joint Selection of dozens of schools and training institutionsI can understand it and learn it.
Lightweight Java EE Enterprise Applications (version 3rd)-Struts 2 + spring 3 + hibernate Integrated Development
Basic InformationAuthor: Li GangPress:
1. Java organizes multiple static initialization actions into a special "static clause", which is a static block.2. the initialization code in the static block will be executed together.
Public class staticbolck1 {// static block static {staticbolck1
Abstract class:1. If one or more abstract methods exist in a class, the class must be declared as an abstract class and cannot be instantiated.2. If you inherit from an abstract class and want to create the object of the new class, you must provide
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