Topic Hổ trợ JAVA1 – JAVA2


Mình lặp ra topic này với mục đích học tập. Và có thể giúp 1 số bạn lần đầu tiếp xúc với java còn gặp nhiều khó khăn. 

Để việc học tập ngày càng hiệu quả. Và chia sẻ kiến thức cùng nhau.

Có thắc mắc gì về môn JAVA1 và JAVA2 ở trường thì các bạn có thể để lại lời nhắn ở đây hoặc

mail : thaihoanghai.it@gmail.com

Yahoo: kupj_kupj91

để được hướng dẫn trực tiếp . Mình sẻ check blog và mail hàng ngày.

Chúc các bạn làm việc hiệu quả.

Posted in JAVA. 14 Comments »

14 Responses to “Topic Hổ trợ JAVA1 – JAVA2”

  1. YenYen Says:

    Bạn cho mình xin tài liệu java1được không .
    Có gì send qua nick mình nha why_youloveme@yahoo.com.
    Thanks

  2. HUI Says:

    blog hay nè mày.

  3. ducky Says:

    anh ơi giúp em sao em không kết nối CSDL được ???
    import java.sql.*;
    import java.util.*;
    public class TestDatabase extends GuiDB{
    public static Connection getConnection(){
    Connection con=null;
    try{
    // load driver
    Class.forName(“com.microsoft.sqlserver.jdbc.SQLServerDriver”);
    con=DriverManager.getConnection(“jdbc:sqlserver://localhost:1434;” +
    “Database=Demo;User=sa;Password=123456;”);
    if (con!=null) {
    System.out.print(“Ket noi thanh cong”);
    Statement state=con.createStatement();
    ResultSet rs=state.executeQuery(“select * from Role”);
    while(rs.next())
    {
    System.out.print(rs.getString(“Id”)+” “+rs.getString(“Name”)+”\n”);
    }
    }
    }catch(ClassNotFoundException ex){
    System.out.print(ex.getMessage());
    }catch(SQLException e){
    System.out.print(e.getMessage());
    }
    return con;
    }
    public static void main(String[] args){
    GuiDB gui=new GuiDB();
    getConnection();
    }
    }

  4. HUI Says:

    Do a similar task, but this time make only one instance of your main class (the one that implements Runnable). Still have 5 tasks in the queue. You are following variation 2 of the basic threading approach (main class implementing Runnable). Now your code will look roughly like this (or, with the calls to execute in a loop):

    Anh giúp em giải thích bài này nha anh.

  5. jdk Says:

    Hai link này đều die hết rồi bạn, up lại giùm mình nha, thanks, Minh cũng là sinh viên mới vào HUI thôi 🙂

    “http://www.mediafire.com/?1m0wrrbs6e3aroo Cuốn này là chính thức của trường mình rất hay.
    Code trong giáo trình nè : http://www.mediafire.com/?vu2t7mpno4dxpei

    Đây là Một số bài cho các bạn mới làm quen với JAVA2 http://www.mediafire.com/?vu2t7mpno4dxpei

  6. smoked ribs Says:

    Spot on with this write-up, I truly think this web site needs a
    great deal more attention. I’ll probably be back again to see more, thanks for the info!

  7. levofloxacin drug interactions Says:

    It’s going to be finish of mine day, however before end I am reading this enormous article to increase my experience.

  8. hoanganh Says:

    Thanks ad blog is helful.

  9. ky duyen Says:

    add nick chat mih nha ban
    minh co nay can hoi…..

  10. hoanganh Says:

    Anh giúp em làm phần mềm chát Client-Server nha anh…..


Leave a comment