Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


When I should use the "new" operator

ligangligang Member Posts: 76

I am quite confused when I should use new operator to initialize an object
like following :

url = Http1Utils.getRequestURL(request);
//It didn't use New Operator to construct the Class , Why?


  • Andre YoungAndre Young USAMember Posts: 0

    _____ [ ] free video tutorials and ebooks about // C, R, Go, Perl, C#, PHP, Java, Scratch, Assembly, MATLAB, Objective-C, Swift, Delphi, Visual Basic, Ruby, C++, Python, PL/SQL, Visual Basic .NET, JavaScript ML, Alice, Hack, VBScript, COBOL, Transact-SQL, Scala, Dart, Erlang, Julia, FoxPro, Bash, SAS, D, Clojure, Ada, Crystal, Scheme, LabVIEW, Kotlin, Lisp, Awk, Lua, Apex, Logo, ABAP, Fortran, Rust, Prolog, F# // _______

Sign In or Register to comment.