SlideShare a Scribd company logo
|[
Roll No. ..............................
                                          JAVA PROGRAMMING
                                           Subject Code : MSCIT-305
                                                   [A0414]
Time : 3 Hrs.                                                 Max. Marks : 75


                                          SECTION–A             (20 × 1 = 20 Marks)
 (a) Java develop in _____________
 (b) The Multiple inheritance use in java using___________
(c) Which HTML tags are used for applets _______________
(d) The dot operator used in package to__________________.
(e) The paint () using to _____________
(f) This operator is called ? :____________
(g) JVM stand for_____________________
 (h) Javadoc use to______________
(i) What is the importance of naming conventions in packages __________________
(j) The source file save in java________________
(k) Awt stand for ______________________
(1) ____________operators called a bitwise operator ?
(m)Java first name is
  1) Perl                      2)oak
  3)php                         4)ruby
(n)Which method is used to remove the white space
  1) equals()                 2) indexof
  3) trim()                   4)concat()
(o) String,Math,Exception is including in ?
  1)java.io                  2)java.util
  3)java.lang                3)java.sql
(p)The drawRect () is draw a
  1) oval                     2)rectangle
   3) circle
 q) catch keyword is using after the
   1) throw                   2)try
    3)throws                   4)finally
 r) swings is using
  1)java.awt                2)javax.swing
   3)java.applet            4)java.io
 s) superclass is know as
  1)parent class           2)child class
  3)sub class
 t) appletviewer is see the output
  1) swing                  2)applet
  3)Graphics
                                       SECTION–B                (5× 5 = 25 Marks)
2. Describe operator precedence and associativity in Java.
3. Explain object oriented concepts in Java.
4. Write a program in Java to create a user defined Exception.
5. Describe the various forms of implementing interfaces. Give examples of Java
code for each case.
6. How does Java differ from C++ ?
7. Give an example to show the declaration of Variables ? How will you assign
values to these variables ?
8. Write a program to explain the concept of inheritance.
                                             SECTION–c               (10× 3 = 30 Marks)
1. Differentiate between methods overloading and method overriding with an example.
 2. Discuss the different levels of access protection in Java
 3. How is an array created in java? What are the different ways to initialize an
array ?
4 How we can draw a circle in java
5. Describe the different stages in the lifecycle of an applet.

More Related Content

PPTX
Classes and objects
PPTX
Learning C++ - Class 4
PPTX
Advance OOP concepts in Python
PPTX
Python Classes and Objects part14
PDF
Jvm internals
PDF
Why GC is eating all my CPU?
PDF
4CS4-25-Java-Lab-Manual.pdf
PDF
java basic .pdf
Classes and objects
Learning C++ - Class 4
Advance OOP concepts in Python
Python Classes and Objects part14
Jvm internals
Why GC is eating all my CPU?
4CS4-25-Java-Lab-Manual.pdf
java basic .pdf

Similar to Core java msc (20)

PDF
ITI COPA Java MCQ important Questions and Answers
DOCX
Mcs 024 assignment solution (2020-21)
PPT
Object Oriented Programming-JAVA
PDF
Java 8 new features
PDF
Java 8 new features
PDF
Java Interview Questions by NageswaraRao
PDF
Javainterviewquestions 110607071413-phpapp02
PDF
Javainterviewquestions 110607071413-phpapp02
PPTX
DAY_1.1.pptx
PDF
Understanding the Dalvik Virtual Machine
PPTX
PDF
Java programming basics
PDF
Java Interview Questions
PDF
Core Java Certification
PDF
Certified Core Java Developer
PDF
Adv java unit 1 M.Sc CS.pdf
DOCX
First fare 2010 java-introduction
PPTX
PPT Lecture-1.2 java basics jvm, literals,
PDF
SE-IT JAVA LAB SYLLABUS
ITI COPA Java MCQ important Questions and Answers
Mcs 024 assignment solution (2020-21)
Object Oriented Programming-JAVA
Java 8 new features
Java 8 new features
Java Interview Questions by NageswaraRao
Javainterviewquestions 110607071413-phpapp02
Javainterviewquestions 110607071413-phpapp02
DAY_1.1.pptx
Understanding the Dalvik Virtual Machine
Java programming basics
Java Interview Questions
Core Java Certification
Certified Core Java Developer
Adv java unit 1 M.Sc CS.pdf
First fare 2010 java-introduction
PPT Lecture-1.2 java basics jvm, literals,
SE-IT JAVA LAB SYLLABUS
Ad

Core java msc

  • 1. |[ Roll No. .............................. JAVA PROGRAMMING Subject Code : MSCIT-305 [A0414] Time : 3 Hrs. Max. Marks : 75 SECTION–A (20 × 1 = 20 Marks) (a) Java develop in _____________ (b) The Multiple inheritance use in java using___________ (c) Which HTML tags are used for applets _______________ (d) The dot operator used in package to__________________. (e) The paint () using to _____________ (f) This operator is called ? :____________ (g) JVM stand for_____________________ (h) Javadoc use to______________ (i) What is the importance of naming conventions in packages __________________ (j) The source file save in java________________ (k) Awt stand for ______________________ (1) ____________operators called a bitwise operator ? (m)Java first name is 1) Perl 2)oak 3)php 4)ruby (n)Which method is used to remove the white space 1) equals() 2) indexof 3) trim() 4)concat() (o) String,Math,Exception is including in ? 1)java.io 2)java.util 3)java.lang 3)java.sql (p)The drawRect () is draw a 1) oval 2)rectangle 3) circle q) catch keyword is using after the 1) throw 2)try 3)throws 4)finally r) swings is using 1)java.awt 2)javax.swing 3)java.applet 4)java.io s) superclass is know as 1)parent class 2)child class 3)sub class t) appletviewer is see the output 1) swing 2)applet 3)Graphics SECTION–B (5× 5 = 25 Marks)
  • 2. 2. Describe operator precedence and associativity in Java. 3. Explain object oriented concepts in Java. 4. Write a program in Java to create a user defined Exception. 5. Describe the various forms of implementing interfaces. Give examples of Java code for each case. 6. How does Java differ from C++ ? 7. Give an example to show the declaration of Variables ? How will you assign values to these variables ? 8. Write a program to explain the concept of inheritance. SECTION–c (10× 3 = 30 Marks) 1. Differentiate between methods overloading and method overriding with an example. 2. Discuss the different levels of access protection in Java 3. How is an array created in java? What are the different ways to initialize an array ? 4 How we can draw a circle in java 5. Describe the different stages in the lifecycle of an applet.