Rabu, 06 Juli 2016

Java interview programming questions on this keyword part 2

Java interview programming questions on this keyword part 2

Hi friends this is the part 2 of this keyword programming interview questionsCheck this for part 1 Java programming examples programs on this keyword part 1(adsbygoogle = window.adsbygoogle || []).push({}); Java Quiz on...
Baca selengkapnya
Java Interview programming questions on this keyword

Java Interview programming questions on this keyword

Lets discuss some interesting programs on this keyword.Now its time to practice some programs on this keyword. Try to guess the output of the following java programming questions on this keyword.If you want explanations...
Baca selengkapnya

Selasa, 05 Juli 2016

Java Program to find shortest palindrome in string

Java Program to find shortest palindrome in string

We have a Letter or a word then we need add some letters to it and need to find out shortest palindrome For example we take "S":  S will be the shortest palindrome string.If we take "xyz":  zyxyz will be the...
Baca selengkapnya

Minggu, 19 Juni 2016

Validate email address using  javascript

Validate email address using javascript

One of the famous interview question in JavaScript : how to validate email address in JavaScript.In order to validate a text field of HTML we need a JavaScript function.On submit form we need to call a java script function...
Baca selengkapnya
Java XML parsing using DOM parser

Java XML parsing using DOM parser

Employees.xml:Employee.javapackage javaXMLParsing;public class Employee {        String id;      String firstName;      String lastName;   ...
Baca selengkapnya

Sabtu, 18 Juni 2016

Difference between Collections and Collection in java with example program

Difference between Collections and Collection in java with example program

Famous java interview question: difference between collections and collection in javaMajor difference between Collection and Collections is Collection is an interface and Collections is a class. Both are belongs to...
Baca selengkapnya
Java Program to find missing numbers in an array

Java Program to find missing numbers in an array

To find missing numbers in an array first we need to make sure that array is sorted.After sorting we need to check that array each element with next element then we can find the difference.if Array is not sorted :To sort...
Baca selengkapnya

Jumat, 17 Juni 2016

Dynamic polymorphism in java with example program

Dynamic polymorphism in java with example program

Polymorphism means defining multiple methods with same name.(adsbygoogle = window.adsbygoogle || []).push({}); Two types of polymorphism 1.Static polymorphism2.Dynamic polymorphism.Static polymorphism:Defining multiple methods...
Baca selengkapnya

Jumat, 10 Juni 2016

toString() method in java with example program

toString() method in java with example program

toString() method belongs to object class.By default it will be called once  whenever we try to print object.toString() method by default will print classname@hex representation of hashcode.We can override this toString()...
Baca selengkapnya

Sabtu, 28 Mei 2016

Google Wins Java Copyright Case Against Oracle

Google Wins Java Copyright Case Against Oracle

(adsbygoogle = window.adsbygoogle || []).push({}); Google has won a six-year court case brought by software firm Oracle, which claimed Google had infringed its copyright by using 11,500 lines of Java code in its Android...
Baca selengkapnya

Kamis, 05 Mei 2016