Its bit wise operator ,which can be applied to the integer types, long, int, short, char, and byte. & (bitwise and) Binary AND Operator copies a bit to the result if it exists in both operands means & evaluates both sides of the operation.
Java Interview Question,Java tutorial and Java related Stuffs
Subscribe to:
Post Comments (Atom)
Find Duplicate Characters In String using Java
package com.zia.test; import java.util.HashMap; import java.util.Map; import java.util.Set; public class findDuplicateCharacter { /**...
-
Below are the some question which are generally asked in Java interview question from Abstract class and interface. Question-Can abstract ...
-
First way to do it as below, String s1 = "First"; String s2 = "Second"; s1=s1+" "+s2; s2=s1.split("...
No comments:
Post a Comment