E&ICT IIT Roorkee - Data Engineering Course at Rs. 1,999 (90% OFF) | Expires in

 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.