Predict the output of below code
public static void main(String[] args) { String myStr = "Hello"; System.out.println(myStr.replace('l', 'p')); }
05 3月 2023, 01:42
https://www.youtube.com/@TechShikshaBT Learn Java programming for free Free hand written notes Free ebooks Free assignment support Paid assignment support
显示更多
我们使用 cookie 来改善您的浏览体验。
点击“全部接受”,即表示您同意Cookie 使用政策。