Q.1
The implicit return type of a constructor is
Q.2
In which area of memory, the system stores parameters and local variables whenever a method is invoked?
Q.3
What is the expected output?
public class Profile {
	private Profile(int w) { // line 1
		System.out.print(w);
	}
	public final Profile() { // line 5
		System.out.print(10);
	}
	public static void main(String args[]) {
		Profile obj = new Profile(50);
	}
}
Q.4
What is the expected output?
class Animal {
	Animal() {
		System.out.println("Animal");
	}
}
class Wild extends Animal{
	Wild() {
		System.out.println("Wild");
		super();
	}
}
public class Test {
	public static void main(String args[]) {
		Wild wild = new Wild();
	}
}
Q.5
Which of the modifier can't be used for constructors?
Q.6
The variables declared in a class for the use of all methods of the class are called
0 h : 0 m : 1 s