RABIAMMAL AHAMED MAIDEEN COLLEGE FOR WOMEN, THIRUVARUR (Affilliated to Bharathidasan University, Tiruchirapalli ) Department of Computer Science QUESTION BANK Subject name: PROGRAMMING IN JAVA Subject code: 16SCCCA3 Class: BCA SEM : III UNIT - I 2MARKS 1.define classes and objects? 2.what is object oriented programming (OOP)? 3.what is attributes? 4.define characteristics of OOP? 5.what is encapsulation? 6.what is inheritance? 7.define data hiding? 8.what are the benefits of encapsulation? 9.define polymorphism? 10.what are the advantages of inheritance? 11.what are the drawbacks of OOP? 12. Define JVM? 13.Define JavaAPI? 14.define javabeans? 15.define applets? 16. what are the programming approaches in Java? 17.what is abstraction? 18.define function overloading? 19.define operator overloading? 20.define JDBC. 21.what is an example of operator overloading?
Posts
Java MCQ
- Get link
- Other Apps
1. Which provides runtime environment for java byte code to be executed? (A) JDK (B)JVM (C) JRE (D) JAVAC 2. What is byte code in Java? (A) Code generated by a Java compiler (B) Code generated by a Java Virtual Machine (C) Name of Java source code file (D) Block of code written inside a class 3. Which of the following are not Java keywords ? (A) double (B) switch (C) then (D) instanceof 4. Hot Java is a ______________________. (A)Application in Java (B)JVM for Java Application (C)Java enabled browser (D)Later version of Java Language 5. Which of the following commands will compile a Java source file “ShortProgram.java” (A) java ShortProgram.html (B) javac ShortProgram (C) java ShortProgram (D) javac ShortProgram.java 6. Which of the following commands is not used to run a java applet? (A) Appletviewer ShortProgram.html