Java Programming and Technical General Ability General Knowledge

Have You Seen A "Tree"??
a)Yes b)No
The above question is related to class and Object....If you say Yes/No....please Submit your reason also

Read Solution (Total 4)

Java Other Question

Write a function that accepts a sentence as a parameter, and returns the same with each of its words reversed. The returned sentence should have 1 blank space between each pair of words.

Demonstrate the usage of this function from a main program.

Example:
Parameter: “jack and jill went up a hill”
Return Value: “kcaj dna llij tnew pu a llih”
Can we create a String object by using an array of characters?
[1] If Yes, then how?
[2] If No, then why?