Java J2EE (14736)
J2ME (151)
Java Related AllOther (507) "Sun Certified Java Programmer" This is one String , we need to print SCJP, write the java code dynamically? pls reply this questions
6 9538What is the O/P of the below Code Snippet ? And how does it imply the concept of call-by-value/call-by-reference. (Note : Pls ignore syntx errors) public class One { sop ("Into One--"); } public class Two extends One{ sop ("Into Two--"); } public class Home { One a; Two t; public static void main(argv[]) { sop ("In Home--"); sop(One.a); sop(Two.a); sop(One.t); sop(Two.t); } }
2 5063Whats the O/p of the below code snippet ? And explain how does it imply the concept of call-by-value/call-by reference. (PS : Pls ignore syntax errors) public class One { public oneA(){ sop ("Into One--");} } public class Two extends One{ public twoT(){ sop ("Into Two--"); } } public class Home { One a; Two t; public static void main(argv[]) { sop ("In Home--"); sop(a.oneA()); sop(t.oneA()); sop(a.twoT()); sop(t.twoT()); } }
4 7263
what is reflection api? How are they implemented?
How is declarative handling of exceptions done in struts ?
How does java handle integer overflows and underflows?
What do you mean by an interface in java?
What if I write static public void instead of public static void?
What is an object in java and how is it created?
What do you know about validation plugin ?
Can we extract main method from another class?
What is latest hibernate version?
Can we return resultset in java?
what are the different modes of archival? Explain each mode in two lines each?
What is action chaining ?
How can you inject java collection in spring?
Explain public static void main(string args[]) in java.
What is the difference between break and continue statements?