Object Oriented Programming (OOPs)

© examsiri.com
Question : 6 of 72
 
Marks: +1, -0
Given:
public class Hello {
  String title;
  int value;
  public Hello() {
   title += " World";
  }
  public Hello(int value) {
   this.value = value;
   title = "Hello";
   Hello();
  }
}
and:
Hello c = new Hello(5);
System.out.println(c.title);

What is the result?
Go to Question: