Home TechnologyProgrammingJava Subscribe to RSS

How Many Ways To Create Object? In Java +examples

Answer Question

1 Answer - Sort by: Date | Rating

    There are four ways to create an object in Java as follows :
    1. Using new operator
    2. Using Class.forName()
    3. Using clone() method
    4. Object de-serialization
    0 0
    Guest

    Guest 

    answered 7 months ago

      More

         
         

        Ask a Question via Twitter

        Send a question to @askblurtit and we will publish it online and send you a reply everytime you receive an answer.

        Blurtit Store

        Get T-shirts, hoodies, caps and more at the Blurtit store

        Blurtit International