Java equivalent to C# dynamic class type?

前端 未结 4 1706
[愿得一人]
[愿得一人] 2020-12-06 06:01

I\'m coming from the world of c#.

in C# i am able to use the class dynamic http://msdn.microsoft.com/en-us/library/dd264741.aspx

This allows me to not have t

4条回答
  •  我在风中等你
    2020-12-06 06:18

    You can also include Scala code, which does not require explicit type declarations. Scala produces Java byte code. I haven't used C#, so I'm afraid I can't take this comment to the point of responding directly to the question. Maybe someone else can add to it.

提交回复
热议问题