Posts

Sample code for JDBC

Code for JDBC connectivity mysql server: import java.sql.*; public class connection {     public static void main(String args[]) {         try {             Connection conn=DriverManager.getConnection("jdbc:mysql://localhost/database_name","username","password");//username and password for mysql database             String sql="insert into info values(1,'Ram')"; //info is table name             Statement st=conn.createStatement();             st.execute(sql);               }catch(Exception e) {             System.out.println(e);         }     } }

How To Improve Programming Skills/Logic

Image
    Top Sites Which Provides best coding platforms which helps you to improve your programming logic                 You can improve your programming skills and logic by practicing online.There are some sites which provides you best coding platform to practice,compete and so on.Here is the list.... 1) Coderbyte:            Coderbyte is the one of the best coding platform where you can improve your coding skills.You can also compete on coderbyte. 2)HackerRank:          HackerRank is best site for learners and developers.Here you can practice coding,prepare for interviews and also get hired.. 3)Codeshef:         Codeshef is a platform where you can learn to code,practice,compete with the world.There are so many contests running on codeshef you can participate and improve your s...