`
文章列表

PACKAGE

oracle sample schema 'HR' & 'SCOTT' locate at : http://code.google.com/p/adf-samples-demos/downloads/detail?name=demoscripts.zip&can=2&q= 1. Package (Package is simply a collection of procedures, functions, package variables, etc) A package is a schema object that groups logically r ...
1. Asset Accounts Anything owned, whether tangible (a physical item) or intangible (the right to something) is an asset.  Assets are generally separated into two groups: Current Assets(流动资产) - Cash and other assets that will be used up, or sold, or converted to cash within the normal operation of ...

good url for database

http://www.codeproject.com/Articles/9990/SQL-Tuning-Tutorial-Understanding-a-Database-Execu http://www.downloadmela.com/interview-paper?sno=30 http://stackoverflow.com/questions/2119859/questions-every-good-database-sql-developer-should-be-able-to-answer DB: http://docs.oracle.com/cd/B12037_01/app ...

transient

    博客分类:
  • java
What are transient variables? What role do they play in Serialization process? The transient keyword in Java is used to indicate that a field should not be serialized. Once the process of de-serialization is carried out, the transient variables do not undergo a change and retain their default value. ...
1) String is immutable while StringBuffer and StringBuilder is mutable object. 2) StringBuffer is synchronized while StringBuilder is not which makes StringBuilder faster than StringBuffer. 3) Use String if you require immutability, use Stringbuffer in java if you need mutable + thread-safety and use ...
http://www.journaldev.com/1162/java-multi-threading-concurrency-interview-questions-with-answers
1. What is deadlock ? when two or more threads waiting for each other to release lock and get stuck for infinite time , situation is called deadlock . it will only happen in case of multitasking. 2. how to detect deadlock ? simplest way : 1). under linux: kill -3 this will print status of all the th ...
http://tutorials.jenkov.com/java-util-concurrent/blockingqueue.html http://jiji87432.iteye.com/blog/1773770
yield() method pauses the currently executing thread temporarily for giving a chance to the remaining waiting threads of the same priority to execute. If there is no waiting thread or all the waiting threads have a lower priority then the same thread will continue its execution. The yielded thread w ...
转载自此 A java thread is an execution context or a lightweight process. It is a single sequential flow of control within a program. Programmer may use java thread mechanism to execute multiple tasks at the same time. Thread class and run() Method Basic support for threads is in the java.lang.Thread ...
Processes A process generally has a complete, private set of basic run-time resources; in particular, each process has its own memory space. (To facilitate communication between processes, most operating systems support Inter Process Communication (IPC:进程间通讯) resources, such as pipes and sockets. IPC ...
1. New state  After the creations of Thread instance the thread is in this state but before the start() method invocation. At this point, the thread is considered not alive. 2. Runnable (Ready-to-run) state . A thread start its life from Runnable state. A thread first enters runnable state after ...
1. If a variable is declared with the volatile keyword then it is guaranteed that any thread that reads the field will see the most recently written value. The volatile keyword will not perform any mutual exclusive lock on the variable. 2. The simplest way to avoid problems with concurrency is to sh ...

5 point

    博客分类:
  • java
1. collection: map/hashmap 2. string(like reverse string, stringBuffer...) 3. multi-thread 4.valatile
http://stackoverflow.com/questions/9133603/java-programming-language-online-tests http://winse.iteye.com/blog/1331725 http://laotu5i0.iteye.com/blog/1021583
Global site tag (gtag.js) - Google Analytics