System.out.println(str1.toUpperCase());This statement prints the string "HELLO".
System.out.println(str2.charAt(6));In "Java Programming", index 6 corresponds to the letter 'r'.
System.out.println(str1.indexOf('l'));In the string "Hello", the first 'l' appears at index 2.
System.out.println(str1.replace('l', '*'));This will output: "He**o" — as both 'l's are replaced with '*'.
On 31st March, 2024 following is the Balance Sheet of Bhavik Limited :
Bhavik Ltd.
Additional Information :
(i) During the year a piece of machinery costing Rs 8,00,000 accumulated depreciation thereon Rs 50,000 was sold for Rs 6,50,000
(ii) Debentures were redeemed on 31-03-2024.
Calculate:
(a) Cash flows from Investing Activities
(b) Cash flows from Financing Activities