Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.80K
1 Posted Topic
you have already intialized s as String. so dont use String s in void initializeStuff() method .just type the program given below class Main { String s; void initializeStuff() { s = "aaa"; } void displayStuff() { System.out.print("The length of '"+s+"' is: "); System.out.print(s.length()); } public static void main(String[] args) …
The End.
selvi_madathi