What is the purpose of main function in java?
Give example to differentiate between call by value and call by reference.
Why is singleton class used?
Explain about sets?
How do you declare a variable?
Can a method inside a interface be declared as final?
How to do validation of the fields in any project ?
What is the use of math abs in java?
Can we convert integer to string in java?
What is independent and dependent variables in research?
when we create singleton design then we create private constructtor..so how JVM take private constructor to make object..but it's private..
What is the purpose of stub and skeleton?
they asked class A{} class B{} class c{} all the three class saved as a single file,there is no main method in the file and anothe class M.java class m { psvm(String args[]) { // here the parent class can access } }
2 Answers DNS, IPSR Solutions,