User Profile

Collapse

Profile Sidebar

Collapse
lokanath60
lokanath60
Last Activity: Feb 24 '14, 09:17 AM
Joined: May 5 '13
Location: Bangalore
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Convert a large number of file to another name in java

    Code:
    
    
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    
    
    
    
    /*Step1 :-nake sure that u have ur project loc path other wise it ll show exception
     Step2:run
    ...
    See more | Go to post

  • It is working fine ..I have posted it only because any one who is searing for "How to Read and Write Data to excel sheet in java" he can find this answer
    See more | Go to post

    Leave a comment:


  • lokanath60
    started a topic How to Read and Write Data to excel sheet in java
    in Java

    How to Read and Write Data to excel sheet in java

    Code:
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    import java.io.FileOutputStream;
    import java.io.FileReader;
    import java.io.IOException;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Scanner;
    
    import org.apache.poi.hssf.usermodel.HSSFCell;
    ...
    See more | Go to post

  • Can any One Make me Understand Linked List Program in Java

    Write a program of LinkedList do not Use LinkedList Class.
    See more | Go to post

  • lokanath60
    replied to Decimal to Binary Conversion program
    in Java
    Decimal to Binary Java Source code

    This is the Program Which will convert a Decimal no to Binary fie ..


    Code:
    class Binary{
    	public static void main(String[] args){
    		int no=150;       //Input the No here
    		int i=0;            
    		int size=no/2;     //the no of 0 and 1 is no/2 approximetly;
    		int a[]=new int[++size];    //creating an array of that size
    		while(no>0){
    ...
    See more | Go to post

    Leave a comment:


  • lokanath60
    started a topic How to Print Binary of a Decimal Number
    in Java

    How to Print Binary of a Decimal Number

    Any one Write this Program in a Better Way ..

    Code:
    /*******
    *@Author Lokanath Behera
    *@Mob-[removed]
    *@Email-[removed]@gmail.com
    *****/
    
    class Binary{
    	public static void main(String[] args){
    		int no=19999;
    		int i=0;
    		int size=no/2;
    		int a[]=new int[++size];
    		while(no>0){
    					
    		if(no%2==0){
    			a[i++]=0;
    		}
    		else{
    ...
    See more | Go to post
    Last edited by acoder; May 5 '13, 10:47 PM. Reason: Removed personal information
No activity results to display
Show More
Working...