Showing posts with label Most important questions in java. Show all posts
Showing posts with label Most important questions in java. Show all posts

25 Aug 2013

Java Questions For Exams...

Some Java Questions....

  • What is JAVA?
  • Explain The Features of JAVA.
  • How many types of Modifiers are in Java? Explain Each.
  • How many type of Classes available in Java? Explain any two with example.
  • How many data types are available in Java? Explain all Wrapper class for that data type.
  • What is abstract class? Explain with example.
  • What is object class? Explain with example.
  • Class defined in Java without using extends keyword having parent(super) class.Explain Why?
  • It is not compulsory to import java.lang package in Java source file.Explain Why?
  • Define checked and unchecked exception.
  • Discuss instance of operator in brief.
  • Define Words : Final, Finally, Finalize, Super, enum, Synchronized, Variable Shadowing, Package, Import.
  • What is bytecode? How it generates?
  • Diffrence between:-
  • Public - Protected.
  • Abstract class - Object class.
  • character stream - byte stream.
  • Abstract class - Interface.
  • Catch - Finally.
  • Applet - Form.
  • A method in Interface is always abstract. Why? 
  • When no constructor defined in class then also object of such class can be created. Why?
  •  
  • Abstract and final can not be used together. Justify.
  • List any two AWT components.
  • What is use of import statement?
  • Differentiate throw and throws.
  • Discuss Piped streams in brief.
  • What is meta-annotation.
  • What is Inheritence? List types of inheritence.
  • Explain Thread Life Cycle.
  • Explain Applet Life Cycle.
  • How File handling works in java. List any three operations on file and explain it.
  • Explain Framework. What do you mean by an Applet?
  • What is the difference between "==" operator and equals() method of Object class?
  • Explain the difference between Comparable and the Comparator interfaces.
  • Write a short note on the role of Pattern and Matcher class for handling
  • regular expression with example.
  • Define anonymous class.
  • Explain the functionality of ItemEvent and TextEvent with example.


Courtesy :-
GTU Final Exam Papers.

Comments

© 2013-2016 ITTechnocrates. All rights resevered. Developed by Bhavya Mehta