Interview Important questions.
AXL Service
public class HelloWorld{
public static void main(String []args){
String s1="myString";
String s2=new String("myString");
System.out.println(s1.equals(s2));
System.out.println(s1==s2); //earthmatic operator
}
}
what is the output of both two things
true
false
2. implicit wait condition me yadi 10 second ka time diya or wo webelement 5 second me hi fullfill ho gaya to kya hum pure 10 second wait karenge ya 5 second dekar aage barh jayenge or same condition yadi explicit wait ke sath ho to kya karenge.
3. next sequence batayen.
1, 5, 14, 30, 55, 91, ?
Solution

waise mujhe 1,5,14,30 ,...tak hi pucha tha jiska answer main 55 bataya.
4. 2 container hain ek me 5 litre hai or ek me 3 litre hai or mujhe 4 litre water nikalna hai, tap se paani unlimited girne wali hai. pr new container nahin leni hai.
5.
Comments
Post a Comment