SyntaxFix
Write A Post
Hire A Developer
Questions
getTitle is a function, so you need to put () after it.
getTitle
()
string t = obj.getTitle();