Infosys interview question

Write a code to create a new instance of an object using Apex