Java for Complete Beginners (Video), Part 21: toString()

How to use the important toString() method in Java, and a bit about the Object class that’s the grandfather of all objects in Java. When the video is running, click the maximize button in the lower-right-hand corner to make it … Continue reading

Posted in Java, Java Video Tutorials (Beginners) | Tagged , , , , |

Javascript To String: Formatting Data Using toString in Javascript

You can use toString() in javascript to format arrays and numbers as strings. The following HTML page contains embedded javascript that does exactly that. <html> <head> <title>Test Page</title> </style> <script language=”javascript”> function run() { var num1 = 72.6; var fruits … Continue reading

Posted in Javascript | Tagged , |