Advertisement
Nickname
instanceof
Registered since:
January 12, 2015
Short bio:
 
Home page:
 
Total posts:
576

Forum posts by instanceof java:

39 pages [ Previous 1 ... 22 23 24 25 26 27 28 29 30 31 32 Next ]
Posted in All Buzz Forum, Nov 9, 2015, 8:22 PM
1. Java Interview Program to Reverse words in a string package com.instaceofjava; public class ReverseString { public static void main(String[] args) { String strng= "Instance of Java "; String str[] =strng.split(" "); String result=""; for(int i=str.length()-1;i>=0;i--){ result += str[i]+"...
Posted in Java Buzz Forum, Nov 9, 2015, 8:22 PM
1. Java Interview Program to Reverse words in a string package com.instaceofjava; public class ReverseString { public static void main(String[] args) { String strng= "Instance of Java "; String str[] =strng.split(" "); String result=""; for(int i=str.length()-1;i>=0;i--){ result += str[i]+"...
Posted in All Buzz Forum, Sep 20, 2015, 4:12 AM
Spring Framework history:Spring 1.0 was released in 2004Initially developed by Rod Johnson.What is Spring:Spring is  Open Source Framework.Spring is Lightweight Application Framework. Spring is  Simple framework.Spring is loosely coupled. Spring is a complete and a modular framework,because spring can be used in all layers...
Posted in Java Buzz Forum, Sep 20, 2015, 4:12 AM
Spring Framework history:Spring 1.0 was released in 2004Initially developed by Rod Johnson.What is Spring:Spring is  Open Source Framework.Spring is Lightweight Application Framework. Spring is  Simple framework.Spring is loosely coupled. Spring is a complete and a modular framework,because spring can be used in all layers...
Posted in All Buzz Forum, Sep 19, 2015, 10:12 PM
Collection is the main interface.There are many methods declared in Collection interface. These are the common methods for all collections to perform different operations.public interface Collection<E>extends Iterable<E>Methods in Collection Interface: 1.public Boolean add(Object obj) Used to add element in to the...
Posted in Java Buzz Forum, Sep 19, 2015, 10:12 PM
Collection is the main interface.There are many methods declared in Collection interface. These are the common methods for all collections to perform different operations.public interface Collection<E>extends Iterable<E>Methods in Collection Interface: 1.public Boolean add(Object obj) Used to add element in to the...
Posted in All Buzz Forum, Sep 19, 2015, 8:12 PM
1.Java Basic interview Programs on Strings What is the output of following programs. Click here for basic java interview questions on Strings 2.Reverse a String Without using String API? Reverse a String Without using String API? 3.Sorting the String without using String API?Sorting the String without using String API?...
Posted in Java Buzz Forum, Sep 19, 2015, 8:12 PM
1.Java Basic interview Programs on Strings What is the output of following programs. Click here for basic java interview questions on Strings 2.Reverse a String Without using String API? Reverse a String Without using String API? 3.Sorting the String without using String API?Sorting the String without using String API?...
Posted in All Buzz Forum, Sep 19, 2015, 5:30 AM
#1: Java Program to Remove non ASCII chars from Stringpackage com.instanceofjava; class RemoveNonASCIIString{ public static void main(String [] args){   String str = "Instance��of��java";  System.out.println(str);   str = str.replaceAll("[^\\p{ASCII}]", "");   System.out.println("After removing non...
Posted in Java Buzz Forum, Sep 19, 2015, 5:30 AM
#1: Java Program to Remove non ASCII chars from Stringpackage com.instanceofjava; class RemoveNonASCIIString{ public static void main(String [] args){   String str = "Instance��of��java";  System.out.println(str);   str = str.replaceAll("[^\\p{ASCII}]", "");   System.out.println("After removing non...
Posted in All Buzz Forum, Sep 18, 2015, 9:29 PM
#1: Java Program to split a String using String Split() method:package com.instanceofjava; class SplitString{ public static void main(String [] args){   String str = "Instance-of-Java";  String strarray[]=str.split("-");     for (int i = 0; i < strarray.length; i++) {  ...
Posted in Java Buzz Forum, Sep 18, 2015, 9:29 PM
#1: Java Program to split a String using String Split() method:package com.instanceofjava; class SplitString{ public static void main(String [] args){   String str = "Instance-of-Java";  String strarray[]=str.split("-");     for (int i = 0; i < strarray.length; i++) {  ...
Posted in All Buzz Forum, Sep 18, 2015, 7:30 PM
#1: Java Program to Remove all occurrences of a string  package com.instanceofjava; class RemoveCharString{ public static void main(String [] args){   String str = "Java";    str = str.replace("a", "");    System.out.println(str);}}Output:Jv#2: Java Program to Replace First occurance of...
Posted in Java Buzz Forum, Sep 18, 2015, 7:30 PM
#1: Java Program to Remove all occurrences of a string  package com.instanceofjava; class RemoveCharString{ public static void main(String [] args){   String str = "Java";    str = str.replace("a", "");    System.out.println(str);}}Output:Jv#2: Java Program to Replace First occurance of...
Posted in All Buzz Forum, Sep 13, 2015, 9:02 PM
package com.javatutorial; public class MaxOccuranceOfChar{   public static String MaxOccuredChar(String str) {         char[] array = str.toCharArray();        int maxCount = 1;        char maxChar = array[0];   for(int i...
39 pages [ Previous 1 ... 22 23 24 25 26 27 28 29 30 31 32 Next ]
Advertisement