Daily Archives: November 3, 2010

Replace String Example in Java


/**  * @author Mallikarjun G  *  */ public class JavaStringReplaceExample {     /**      * @param args      */     public static void main(String args[]) {               String str = “Replace String”;         System.out.println(str.replace(‘R’, ‘A’));//

Tagged with: ,
Posted in JAVA

Connecting SQL Server using Java


package com.javatutorials; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class SqlServerConnection {     public static Connection connection = null;     public static Connection getDbConnection() {         try {             Class.forName(“sun.jdbc.odbc.JdbcOdbcDriver”);             connection = DriverManager    

Tagged with: ,
Posted in JDBC

Create Folder in Java Example


import java.io.File; /**  * @author mallikarjung  *  */ public class FolderCreation {     public static String folderPath = “D:/SampleFolder/”;     /**      * @param args      */     public static void main(String[] args) {         File folder = new

Tagged with:
Posted in JAVA

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 679 other followers

Calendar
November 2010
M T W T F S S
« Oct   Jan »
1234567
891011121314
15161718192021
22232425262728
2930  
Mallikarjun Gunda

This is Mallikarjun Gunda, I am working as a software professional. Blogging is my Passion. This blog contains the posts on Java related technologies and programming languages. I am happy to share my knowledge through the blogs.

Blog Stats
  • 314,195 hits
IndiBlogger
malliktalksjava.wordpress.c...
70/100