Saturday, September 3, 2016
Friday, September 2, 2016
Monday, August 29, 2016
Wednesday, August 17, 2016
Java anonymous inner class example using interface
package Interface;
interface Eatable {
void eat();
}
class TestAnnonymousInner1 {
public static void main(String args[]) {
/* Eatable e = new Eatable() {
public void eat() {
System.out.println("nice fruits");
}
};
e.eat();
*/
new Eatable() {
public void eat() {
System.out.println("nice fruits");
}
}.eat();
}
}
Friday, May 13, 2016
Wednesday, April 27, 2016
Write a program for Bubble Sort in java
1 | import java.util.Scanner; |
Converting a sentence string to a string array of words in Java
1 | public class SentenceToWord { |
Frequently asked question in Android
(1)How to remove all caps Text from the button in android studio ?
ans: android:textAllCaps="false"
ans: android:textAllCaps="false"
Subscribe to:
Posts (Atom)