Friday, June 23, 2017

Copy File Contents

thumbnail
Following Code will help you to copy contents from one file to another with or without appending. Code: import java.io.*; public class ...
Wednesday, June 21, 2017

FactoryDemo Using Interface

thumbnail
Following code will help in selecting plan using Run Time Polymorphism: Code: interface Plan{ void setDataAndPrice(); void showPlan(...

Point Of Sales

thumbnail
Following code will print the point of sales at any Restaurant: Code: interface order{ int addItem(int x); } class order1 { int to...
Tuesday, June 13, 2017

Dominator

thumbnail
Following Code will find Dominator in 1D Array: Code: public class Dominator { public static void main(String[] nt) { int[] a={-3,...
Monday, June 12, 2017

Group Name Change In ChatApps

thumbnail
Following Code will give u a small idea how that change takes place: Code: public class User {     int i; String name; long mobil...

Caesar Cipher

thumbnail
Caesar Cipher: The Caesar cipher, also known as a shift cipher, is one of the simplest forms of encryption. It is a substitution cipher whe...
Thursday, June 8, 2017

Reading a MD array Using Enhanced For Loop

thumbnail
Following Code will read 2D and 3D arrays using for each loop Code: public class Java3  { public static void main(String[] nt) ...