---
title: "java question"
author: "standalone"
date: "2010-11-12T11:23:59Z"
tags: []
categories: ["编程语言"]
slug: "java-question"
draft: false
lastmod: "2010-11-12T11:23:59Z"
id: 809615
url: "https://standalone.iteye.com/blog/809615"
---

1\. what is error? what is exception?

2\. String vs. StringBuffer vs. StringBuilder

3\. final vs. finally vs. finalize

4\. synchronized(a){

       synchronized(b){

}

    }

    any problems?

5\. way to avoid GC

6\. way to avoid dead lock

7\. Collection&lt;?&gt; vs. Collection&lt;Object&gt;

8\. Design pattern in java library? pattern in java IO ?