Coba jelasin REALbasic dari Class (élmu komputer) dalam bahasa sunda dong

Private Dim what as String

Sub Constructor( s as String )

MsgBox "Hello " + what + EndOfLine

dim h as new Hello( "Foobar" )

This example is a port of the C++ example above. It demonstrates how to maké a class named Hello with a private property named what. It also demonstrates the proper use of a constructor, and has a public method named Say. It also demonstrates how to instansiate the class and call the Say method.