Users Also Read
Read MCQ's/Objective questions
MCQ's Search Engine
Important Question
ASP.NET
Basic Computer Knowledge
Basic of Linux/Unix
C Language
C# Programming
C++ Programming
Computer Graphics
Computer Hardware
Computer Networking
Computer Security - Cyber crime & Laws
Data Structures & Algorithms
Database Management System
Digital Computer Electronics
HTML
Important File Extensions
Imp. Shortcut Keys used in Computer
Internet, Web & Email
Language Processors
Management Information System (MIS)
MS Access
MS Excel
MS Word
Operating System
Oracle, SQL & PL/SQL
PHP Basic
Power Point
Programming Languages
Software Engineering
System Analysis and Design (SAD)
System software & compiler design
Tally
VB.NET
Visual Basic
Home⇒ Computer Engineering⇒ Java concepts and its programming
1-Dont try to cram or spend more time here just read it fast and cover syllabus then practice MCQ's cheptor of same topic to check your progress. . |
2-Wrong options are also given but dont concentrate there, Right answer is in bold format. |
Q1 ⇒ Java is a ........... language. strogly typed [other wrong options] [Discuss in forum] moderate typed weakly typed none of these |
Q2 ⇒ Automatic type conversion in Java takes place when Two type are compatible and size of destination type is larger than source type. [other wrong options] [Discuss in forum] Two type are compatible and size of destination type is equal of source type. Two type are compatible and size of destination type is shorter than source type. All of the above |
Q3 ⇒ Which class cannot be subclassed (or extended) in java? Final class [other wrong options] [Discuss in forum] abstract class parent class None of above |
Q4 ⇒ Which statement is static and synchronized in JDBC API getConnection() [other wrong options] [Discuss in forum] executeQuery() prepareCall() executeUpdate() |
Q5 ⇒ All collection classes are available in java.util package [other wrong options] [Discuss in forum] java.io package java.lang package java.awt package |
Q6 ⇒ Inheritance means Sub class extends super class [other wrong options] [Discuss in forum] Sub class create object of super class Sub class extends Base class All of the above |
Q7 ⇒ Size of float and double in Java is 32 and 64 [other wrong options] [Discuss in forum] 64 and 64 32 and 32 64 and 32 |
Q8 ⇒ Java intermediate code is known as Byte code [other wrong options] [Discuss in forum] First code Mid code None of above |
Q9 ⇒ What will be output of following program? public class Test{public static void main(String[] args){byte b=127; b++; b++; System.out.println(b); } } -127 [other wrong options] [Discuss in forum] 127 129 -129 |
Q10 ⇒ What is jdb java debugger [other wrong options] [Discuss in forum] java Disassemble java Interpreter java compiler |
Q11 ⇒ Program which executes applet is known as applet engine [other wrong options] [Discuss in forum] JVM virtual machine None of above |
Q12 ⇒ In which we clone the object and their constituent parts Deep cloning [other wrong options] [Discuss in forum] Shallow cloning Both of above None of above |
Q13 ⇒ How many primitive data types are there in Java? 8 [other wrong options] [Discuss in forum] 5 6 7 |
Q14 ⇒ Object which can store group of other objects is called Collection object [other wrong options] [Discuss in forum] Package Wrapper Java object |
Q15 ⇒ How many keywords are available in java 48 [other wrong options] [Discuss in forum] 24 96 192 |
Q16 ⇒ Which of the following automatic type conversion will be possible? int to long [other wrong options] [Discuss in forum] byte to int short to int long to int |
Q17 ⇒ Methods that have same name, but different Parameter list and different definition known as Overloading [other wrong options] [Discuss in forum] Overriding Constructor none of these |
Q18 ⇒ Choose the correct statement : Restriction on static methods are- All of the above [other wrong options] [Discuss in forum] They cannot refer this or super in any way. They must only access static data. They can only call other static methods. |
Q19 ⇒ Why we use array as a parameter of main method Can store multiple values [other wrong options] [Discuss in forum] It is syntax Both of above None of above |
Q20 ⇒ Which is the predefined package Lang package [other wrong options] [Discuss in forum] util package io package All of above |
Or |