Frequency of letter in word in JAVA Shivam tripathi December 11, 2018 PROGRAM import java.util.Scanner; public class DuplicateLetters{ public static void main(String args[]) { Scanner scan = new ... Read More
Nth prime number in java Shivam tripathi December 11, 2018 Program public class Prime { final static int MAX = 10000 ; static boolean prime[] = new boolean [10001] ; static void primeNum... Read More
LCM and HCF of two number in java Shivam tripathi November 30, 2018 import java.util.*; class GFG { public static void main (String[] args) { Scanner scan = new Scanner(System.in); int a = ... Read More
Palindrome (Number and word) in java Shivam tripathi November 30, 2018 Word - import java.util.Scanner; class GFG { public static void main (String[] args) { //System.out.println("GfG!"); ... Read More
Upload base64 image to Google CDN in Java Shivam tripathi November 30, 2018 /*Upload base64 image in CDN Save cdn url to database*/ /* path contain base64 encoded image (i.e. Strint path = "data:image/png... Read More
Binary to Decimal in java Shivam tripathi November 30, 2018 /* input = 10111 output = 23 */ import java.util.Scanner; class GFG { public static void main (String[] args) { /... Read More
Decimal to Binary in java Shivam tripathi November 30, 2018 /* input = 11 output = 1011 */ import java.io.*; import java.util.Scanner; class GFG { public static void main (String[] args)... Read More
Java : Convert Date to String example Sarfraz Alam August 19, 2018 Example import java.text.DateFormat; import java.text.SimpleDateFormat; public class DateToStringConve... Read More
Java program to get the IP address of localhost Sarfraz Alam August 19, 2018 Below example shows how to get IP address of a host or machine. You can get it by using InetAddress class. getLocalHost() method returns t... Read More
java program to create moving car using Applet Sarfraz Alam August 07, 2018 import java.awt.*; import java.util.*; import java.applet.*; public class Animation extends Applet implements Runnable { Thread t; ... Read More
Download Spin the bottle android game source code Sarfraz Alam June 22, 2018 Here i provide you the source code of spin the bottle game which is basically the scratch file of android studio you can modify the game an... Read More
Android app : Spin the bottle android game Sarfraz Alam June 21, 2018 To download the source code click here Just copy and paste it as written nothing to do. try it it is a b... Read More
Important java programs Sarfraz Alam June 16, 2018 List of important java programs I have created a list of important java programs these programs are important from interview poin... Read More
Java program to read and download the web page Sarfraz Alam April 04, 2018 In this program i use various predefined API's of java to capture the data from a web page and store it in a separate file in the hard ... Read More
Call By Value Sarfraz Alam March 02, 2018 Call By Value In Java If we call a method passing a value, it is known as call by value. The changes bei... Read More
How to : print Pascal triangle in java Sarfraz Alam February 14, 2018 import java.util.Scanner; public class pascal { static int fact(int t) { if(t==1 || t==0) return 1; else return t*fact( t -... Read More
Java program to remove white spaces Sarfraz Alam January 25, 2018 public class W hite { public static void main ( String a []) { String MyString = "remove white spaces ... Read More