Discover Explore Learn | Flat 15% Discount on all Courses | Use Coupon Code - JUNE15 During Checkout |

 Enroll Now


48 / 52

Scala - Interaction with Java

*Video Transcript: *

As discussed earlier, we can use Java libraries in Scala. Let's check it. Copy the code displayed on the screen. This code uses java.util and java.text libraries and returns the current date in the United States. Let's run the code. As you can see, the current date in the United States is printed on the screen.