SlideShare a Scribd company logo
1 of 2
|[
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

Similar to Core java msc

Mcs 024 assignment solution (2020-21)
Mcs 024 assignment solution (2020-21)Mcs 024 assignment solution (2020-21)
Mcs 024 assignment solution (2020-21)smumbahelp
 
Object Oriented Programming-JAVA
Object Oriented Programming-JAVAObject Oriented Programming-JAVA
Object Oriented Programming-JAVAHome
 
Java Interview Questions by NageswaraRao
Java Interview Questions by NageswaraRaoJava Interview Questions by NageswaraRao
Java Interview Questions by NageswaraRaoJavabynataraJ
 
Javainterviewquestions 110607071413-phpapp02
Javainterviewquestions 110607071413-phpapp02Javainterviewquestions 110607071413-phpapp02
Javainterviewquestions 110607071413-phpapp02Kumaran K
 
Javainterviewquestions 110607071413-phpapp02
Javainterviewquestions 110607071413-phpapp02Javainterviewquestions 110607071413-phpapp02
Javainterviewquestions 110607071413-phpapp02lakk1234
 
Java programming basics
Java programming basicsJava programming basics
Java programming basicsHamid Ghorbani
 
Java Interview Questions
Java Interview QuestionsJava Interview Questions
Java Interview Questionssoniajessica2
 
Core Java Certification
Core Java CertificationCore Java Certification
Core Java CertificationVskills
 
Certified Core Java Developer
Certified Core Java DeveloperCertified Core Java Developer
Certified Core Java DeveloperNarender Rana
 
Adv java unit 1 M.Sc CS.pdf
Adv java unit 1 M.Sc CS.pdfAdv java unit 1 M.Sc CS.pdf
Adv java unit 1 M.Sc CS.pdfKALAISELVI P
 
SE-IT JAVA LAB SYLLABUS
SE-IT JAVA LAB SYLLABUSSE-IT JAVA LAB SYLLABUS
SE-IT JAVA LAB SYLLABUSnikshaikh786
 
Understanding And Using Reflection
Understanding And Using ReflectionUnderstanding And Using Reflection
Understanding And Using ReflectionGanesh Samarthyam
 
Core java over view basics introduction by quontra solutions
Core java over view basics introduction by quontra solutionsCore java over view basics introduction by quontra solutions
Core java over view basics introduction by quontra solutionsQUONTRASOLUTIONS
 

Similar to Core java msc (20)

Mcs 024 assignment solution (2020-21)
Mcs 024 assignment solution (2020-21)Mcs 024 assignment solution (2020-21)
Mcs 024 assignment solution (2020-21)
 
Object Oriented Programming-JAVA
Object Oriented Programming-JAVAObject Oriented Programming-JAVA
Object Oriented Programming-JAVA
 
Java 8 new features
Java 8 new features Java 8 new features
Java 8 new features
 
Java 8 new features
Java 8 new features Java 8 new features
Java 8 new features
 
Cse java
Cse javaCse java
Cse java
 
Java Interview Questions by NageswaraRao
Java Interview Questions by NageswaraRaoJava Interview Questions by NageswaraRao
Java Interview Questions by NageswaraRao
 
Javainterviewquestions 110607071413-phpapp02
Javainterviewquestions 110607071413-phpapp02Javainterviewquestions 110607071413-phpapp02
Javainterviewquestions 110607071413-phpapp02
 
Javainterviewquestions 110607071413-phpapp02
Javainterviewquestions 110607071413-phpapp02Javainterviewquestions 110607071413-phpapp02
Javainterviewquestions 110607071413-phpapp02
 
DAY_1.1.pptx
DAY_1.1.pptxDAY_1.1.pptx
DAY_1.1.pptx
 
Understanding the Dalvik Virtual Machine
Understanding the Dalvik Virtual MachineUnderstanding the Dalvik Virtual Machine
Understanding the Dalvik Virtual Machine
 
01 intro tousingjava
01 intro tousingjava01 intro tousingjava
01 intro tousingjava
 
Java programming basics
Java programming basicsJava programming basics
Java programming basics
 
Java Interview Questions
Java Interview QuestionsJava Interview Questions
Java Interview Questions
 
Core Java Certification
Core Java CertificationCore Java Certification
Core Java Certification
 
Certified Core Java Developer
Certified Core Java DeveloperCertified Core Java Developer
Certified Core Java Developer
 
Adv java unit 1 M.Sc CS.pdf
Adv java unit 1 M.Sc CS.pdfAdv java unit 1 M.Sc CS.pdf
Adv java unit 1 M.Sc CS.pdf
 
First fare 2010 java-introduction
First fare 2010 java-introductionFirst fare 2010 java-introduction
First fare 2010 java-introduction
 
SE-IT JAVA LAB SYLLABUS
SE-IT JAVA LAB SYLLABUSSE-IT JAVA LAB SYLLABUS
SE-IT JAVA LAB SYLLABUS
 
Understanding And Using Reflection
Understanding And Using ReflectionUnderstanding And Using Reflection
Understanding And Using Reflection
 
Core java over view basics introduction by quontra solutions
Core java over view basics introduction by quontra solutionsCore java over view basics introduction by quontra solutions
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.