v3.25.2
Supplemental Cash Flow Information Related to Leases (Detail) - USD ($)
$ in Millions
12 Months Ended
Jun. 30, 2025
Jun. 30, 2024
Jun. 30, 2023
Cash paid for amounts included in the measurement of lease liabilities:      
Operating cash flows from operating leases $ 4,931 $ 3,550 $ 2,706
Operating cash flows from finance leases 1,372 734 501
Financing cash flows from finance leases 2,283 1,286 1,056
Right-of-use assets obtained in exchange for lease obligations:      
Operating leases 7,826 6,703 3,514
Finance leases $ 20,511 $ 11,633 $ 3,128