Blog Archives

How to read a URL using JAVA


package in.malliktalksjava; import java.io.BufferedReader; import java.io.InputStreamReader; import java.net.URL; import java.net.URLConnection; /** * @author malliktalksjava * */ public class URLConnectionReader { public static void main(String[] args) throws Exception { URL oracle = new URL(“http://malliktalksjava.in/”); URLConnection yc = oracle.openConnection(); BufferedReader in =

Tagged with: , , , , , , , ,
Posted in JAVA

Merge Sort Example in Java


package in.malliktalksjava; /** * @author malliktalksjava * * Sorts the given array using merge sort algorithm */ public class MergeSortExample { private int[] array; private int[] tempMergArr; private int length; /** * @param args * * main method. * Pass

Tagged with: , , , , , , , ,
Posted in JAVA

Bubble Sort Example in JAVA


package in.malliktalksjava; /** * @author malliktalksjava * */ public class BubbleSortExample { private static int[] input = { 4, 2, 9, 6, 23, 11, 44, 0 }; /** * @param args * main method to run the logic. */ public

Tagged with: , , , , , , , , ,
Posted in JAVA

Number series example program using JAVA


package in.malliktalksjava; /** * @author malliktalksjava.in * * This program prints the numbers in below pattern * 1 * 123 * 12345 * 1234567 * 12345 * 123 * 1 */ class PrintingNumberPatterns{ public static void main(String[] args){ printNumberSeries(); }

Tagged with: , , , , , , , , , ,
Posted in JAVA

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

Join 678 other followers

Calendar
May 2018
M T W T F S S
« Mar    
 123456
78910111213
14151617181920
21222324252627
28293031  
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
  • 258,489 hits
IndiBlogger
malliktalksjava.wordpress.c...
70/100