Monday, February 17, 2020

JAVA PROGRAMMING LANGUAGE-SEMESTER 2 (2020)

JAVA PROGRAMMING LANGUAGE-SEMESTER 2 (2020)

GROUP A


GROUP A is compulsory. 

Q.1  Write a short notes on the following:       1x10=10

 (a) Operators
 (b) Garbage Collection
 (c) TCP/IP
 (d) Scanner Class
 (e) Multithreading
 (f ) Java Applet
 (g) JDBC
 (h) String Buffer
 (i) Final Class
 (j) Iterative statement

Q.2  Explain the importance of Java machine(JVM) in JRE.         5

GROUP B

 Answer any three questions 


3.      (a) Explain what is type conversion and how it is different from Type casting?         5
         (b) Write the difference between byte and character stream.           5
         (c) Explain the different data types of Java.            5
4.      (a) Write the difference between instance variable and class variable with suitable example.         5
         (b) Can constructor be overloaded? Write a program in Java in support of your answer.       5
         (c) write a program in Java to find sum of all elements of an array.          5
5.    (a) Write the difference between method overloading and method overriding with the help of suitable example.        5
       (b) What are packages?  How they are created and used.         5
       (c) What is an interface? How it is different from abstract class?          5
6.    (a) What are exceptions? How are they handled in Java?            5
       (b) What is thread priority? How can it be set for a thread?        5
       (c) What is synchronisation and why it is important?         5
7.    (a) Write the difference between Applet and Application programs.      5
       (b) Write the feature of Java swing.         5
       (c) Write short notes on any two of the followings:           5
  (i) Listener interfaces
  (ii) Servlet
  (iii)Adaptor and inner classes

1 comment:

ENVIRONMENTAL SCIENCE (QUESTION PAPER) SEMESTER-II(2020)

Set A  Read the instructions carefully: Answer all questions. Each question carries 1 mark. Choose the appropriate alternative and darken th...