Java technical interview Summary

1. Application of the SELECT statement of the database, such as join and subquery;2. Common design modes: Factory method, template method, adapter, Singleton, observer,Command mode;3. Three common frameworks: Basic Principles of struts, hibernate,

In fact, you can toss Java Enum

Package com. geoway. Pad. Favorite. Bean;/*** @ Author likehua* @ Date 20120621**/Public Enum favouritegeometeytype {Point (1 ),Line (2 ),Polygon (2 );Int type;Private favouritegeometeytype (INT type ){This. type = type;}Public int

Java programming Database interview Summary

I attended a phone interview with the big exhibition company today. The gentleman asked me the question of querying a table on the following conditions: 1. A data table with the username field. 2. query the total number of surnamed Zhang, surnamed

How To Call DLL in Java

  -----------------------------Prerequisites ------------------------------------- 1. First, testdll. dll is available. 2. the header file of testdll. dll is required to know which interfaces are defined, for example: Of course, to

Java: the development process of a project)

1. Start the project 1) The project team was established (company members and customer members)2) formulate project objectives3) develop the project plan cycle4) establish a communication mechanism for project team members 2. Demand Research1)

Differences between java. util. Date and java. SQL. Date and Their Applications

Java. util. in addition to SQL statements, Date uses java. SQL. date is used for SQL statements. It only contains the Date but does not have time. It has the getTime method that returns the number of milliseconds. Naturally, you can directly build

Common Java interview questions-Part 2: equals and =

Java Success ImportNew Note: This article is one of the Java interview series compiled by ImportNew. The previous article is "Java interview question and answer: compile-time and run-time". You can view all the Java interview series from

Java reflect example

Public static void main (string [] ARGs) {Ticket = new ticket (); ticket. setaddress ("address00"); ticket. setcity ("city00"); ticket. setphone ("phone00"); ticket. setpoil ("poi00"); ticket. settitle ("title00"); field [] fields = ticket. getclass

Java static internal class

I have been developing on the Microsoft. Net platform before. It cannot be instantiated in C #, and all its members are static. We generally use static classes as tool classes and directly use their attributes and methods without instantiating

Java multi-thread programming experience

Multithread synchronization skills Http://www.yesky.com/461/1746961.shtml Thread Http://info.shangdu.com/new/2003-5-8/200358110837.htm From the perspective of actual development, Java's multithreading is indeed not as good as C ++.Shown

[ZT] Clarifying Java language interfaces and the nature of Inheritance

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 multiple interfaces. In fact, this is very far-fetched.

Java reads/writes binary files

Interface: writerable package com.geoway.pad.common;import java.io.DataInput;import java.io.DataOutput;import java.io.IOException;public interface Writerable { //write public void write(DataOutput data) throws IOException; //read

After two years of using java, the environment variables will become stuck ~ 'The Shame!

Configure jdk 1.7 environment variables in Windows 7 Environment: win7 (32-bit) 64-bit is similar to the followingJdk1.7 1.Right-click "computer"> "properties"> "Advanced System settings"> "advanced"> "environment variables". The "environment

Dependency injection and control inversion in java

Before writing this article, let's talk a few things off the topic. In fact, I didn't want to learn so many programming languages. I originally wanted to be proficient in one language, but for work reasons, now I have to get started with the java

Example 2 of flex communication with java

Suitable for beginners 1, testflex. mxmlView plaincopy to clipboardprint? Xmlns: s = "library: // ns.adobe.com/flex/spark" Xmlns: mx = "library: // ns.adobe.com/flex/mx" CreationComplete = "init ()" MinWidth = "955" minHeight = "600">

Mc parameter memo & java-json memo

Mc parameters (from http://www.blogjava.net/jzone/articles/302991.html)Telnet in or echo stats | nc 127.0.0.1 11211 Pid Memcache server process ID Uptime Number of seconds that the server has run

Android java obtains the summary of the current time

Java code Import java. text. SimpleDateFormat; SimpleDateFormat formatter = new SimpleDateFormat ("MM dd, yyyy HH: mm: ss "); Date curDate = new Date (System. currentTimeMillis (); // obtain the current time String str = formatter. format

Java linux configuration Environment

Run the Installation File [Root @ localhost ~] # Cd/usr/local[Root @ localhost local] #./jdk-6u26-linux-x64.bin Set Environment Variables [Root @ localhost local] # vim/etc/profile Add the following

125 common java interview pen questions summary 2

20. What is the difference between abstract class and interface? The class that declares a method does not implement it is called as an abstract class. It is used to create a class that reflects some basic behaviors and declare a method for this

Two Methods for loading resource files in Java

Processing configuration files is no longer common for Java Programmers. Servlet, Spring, or Structs all need to deal with configuration files. Java treats the configuration file as a resource and provides two classes to read these resources. One is

Total Pages: 6206 1 .... 4853 4854 4855 4856 4857 .... 6206 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.