300+ TOP SUNONE Interview Questions and Answers

SunOne Interview Questions for freshers experienced :-

1.How to handle exceptions without using try,catch,throw, and log4j? 

in case of .net, if you are not using try/catch/finally/throw/log4j

  • make use of Page_error method on any .aspx page to handle error on the specfic page
  • in global.asax use application_error event handler
  • web.config, under Error – specify what need to be done based on error code/type

2.What does a constructor does? 

  1. Constructor is a special type of function which is available for every class.
  2. Constructors can be used to create a object in different forms.
  3. Constructors can be used to execute a statements when object is creating.
  4. Constructors can be used to intialized the object properties.
SUNONE Interview Questions
SUNONE Interview Questions

3.What is swing and jsp. Where we use swings and jsp? 

Java Swing is technolgy which we are using to design desktop application.

  • JSP is a server side technology called as Java Server Pages.
  • when we need to design a application in client – server architecture where client is desktop application then we will go for swings in java, and we can use jsp on serverside.
  • JSP is also used to represent the view as HTML on browser in MVC architecture.

SunOne Interview Questions and Answers Pdf Download

Leave a Reply

Your email address will not be published. Required fields are marked *