Java review 002 and java 002

Source: Internet
Author: User

Java review 002 and java 002

There are too many java things, and I am a little messy. Remember that it is too unstructured.
Java memory Collection mechanism: Garbage Collection GC (Garbage Collection)

Two common methods:

Java exception MechanismReflection mechanism (Reflection)
  • Function

  • Use

  • Struts2
  • Filter <-> interaptor (interceptor)
  • Spring

    Spring is in the Controller Position in MVC Mode

  • Implementation Method: reflection mechanism
  • AOP (Aspect-Oriented Programming)
  • Synchronization between PreparedStatement and Statement threads
  • Thread closed

  • Thread Synchronization

  • Synchronized)
  • Wait
  • Notify
  • Refer:
    Address: http://vview.ml/2014/04/12/java_review002.html
    Written by Vell Bibi posted at VBlog


    Java exercises compile a program that can insert, change, delete, browse, Count students, and so on.

    Public class Student {private String id; private String name; private boolean sex; private String age; private String mobile; private String address; public Student () {} public Student (String id, string name) {this. id = id; this. name = name;} public String getAddress () {return address;} public void setAddress (String address) {this. address = address;} public String getAge () {return age;} p Ublic void setAge (String age) {this. age = age;} public String getId () {return id;} public void setId (String id) {this. id = id;} public String getMobile () {return mobile;} public void setMobile (String mobile) {this. mobile = mobile;} public String getName () {return name;} public void setName (String name) {this. name = name;} public boolean isSex () {return sex;} public void setSex (bool Ean sex) {this. sex = sex ;}@ Override public boolean equals (Object o) {if (this = o) return true; if (o = null | getClass ()! = O. getClass () return false; Student student = (Student) o; if (! Id. equals (student. id) return false; return true ;}@ Override public int hashCode () {return id. hashCode () ;}@ Override public String toString () {return "Student {" + "address = '" + address + ...... remaining full text>

    Why can't I play a downloaded game?

    There are many possibilities. It may be that the downloaded file is damaged or your machine is faulty. Try another download location.
     

    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.