Android Programming and Technical Programming Technical

What is true about a Fragment?

Options
1) I can use a Fragment with out an Activity
2) A fragment can have multiple activities in it.
3) An activity can contain multiple fragments in it.
4) A fragment designed in one activity can't reused in other activity

Read Solution (Total 2)

Android Other Question

When a new emulator is created, how many ports will be allocated to it?

Options
1) 0
2) 1
3) 2
4) 4
How to return layout of a fragment? Which function to implement in Fragment class for it?

Options
1) onCreate()
2) onCreateView()
3) getView()
4) getFragmentView()