[Solved] whats the difference between these statements [closed]


The main difference between the two statements in terms of Instantiating is that in first one, you are instantiating a FragmentABC object, that extends the Fragment class. This means your FragmentABC object is a subClass of Fragment. In the second one you are instantiating an Intent, that is a normal class being instantiated.

To know more about this, you can check this post.

solved whats the difference between these statements [closed]