By popular demand, the Valentine's Day Offer has been extended to the weekend Flat 25% off on all courses. Use coupon code VDAY25 During checkout

 Enroll Now

Scala

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.