Core java over view basics introduction by quontra solutions
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.