Whats 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 7050static variable is a class variable which value remains constant for the entire class?? variable means value is changed....hear value is not changed... why it is called static variable
5 10349Write a program for Sum of the digits for a given number Ex: suppose user entered Number is 1214, It should calculate the above number like 1+2+1+4 = 8
2 7270Write a program to display numeric value in reverse order. Ex: I have given a number like 7584, It should display in reverse order like 4857.
6 8830write a program, when a statement is entered, it should display in reverse order. Ex: Statement is "I am writing program in reverse order". Output should be like "order reverse in program writing am I".
4 10908
what is direct link to download swing ebook,applet,ejb,core java
What is jetty in java?
What are the four types of J2EE modules?
What is j2ee tutorial?
What is java 2 platform, micro edition (j2me)?
What are j2ee concepts?
Difference between load and get method?
What is enterprise information system resource?
What is included in j2ee?
What is java naming and directory service?
What is difference between javac and java?
What is wildfly java?
What is java full stack developer?
What is the use of jit compiler in java?
What is the best java compiler?