Skip to content
GetMCQs.com – Competitive Exam MCQs & Quizzes
  • Home
  • Quiz
  • All MCQs
  • Aptitude
    • Height-and-Distance
    • series
    • Time and Distance
    • Time and Work
    • Train
  • Art
    • Accounting
    • Business and Commerce
    • Costing
    • eCommerce
    • Economics
    • Financial Management
    • GST
    • Insurance
  • Computer
    • Basics of Computer Science MCQs
    • Operating System
    • MS Office
      • MS Word MCQs
      • MS Excel MCQs
      • MS PowerPoint MCQs
  • Engineering
    • Chemical Engineering
    • Environmental Engineering MCQs
    • Civil Engineering
    • Electrical Engineering
    • Mechanical Engineering
    • Software Engineering MCQs
  • English
  • Physics MCQs
  • Chemistry
  • Biology
  • General Knowledge
  • Everyday Science

Java concepts and its programming MCQs

What do you mean by javap?

September 13, 2025 by Admin
A. java compiler
B. java debugger
C. java Interpreter
D. java Disassemble
✅ The correct answer is option D.

Categories Engineering, Java concepts and its programming MCQs, Software Engineering MCQs Tags Engineering MCQs, Java concepts and its programming MCQs, Software Engineering MCQs Leave a comment

Which method is used to perform DML statements in JDBC ?

September 13, 2025 by Admin
A. executeUpdate()
B. executeQuery()
C. execute()
D. None of above
✅ The correct answer is option A.

Categories Engineering, Java concepts and its programming MCQs, Software Engineering MCQs Tags Engineering MCQs, Java concepts and its programming MCQs, Software Engineering MCQs Leave a comment

A package is a collection of__________________?

September 13, 2025 by Admin
A. Classes and Interfaces
B. Classes
C. Editing tools
D. Editing tools and Interfaces
✅ The correct answer is option A.

Categories Engineering, Java concepts and its programming MCQs, Software Engineering MCQs Tags Engineering MCQs, Java concepts and its programming MCQs, Software Engineering MCQs Leave a comment

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); } } ?

September 13, 2025 by Admin
A. 127
B. -127
C. 129
D. -129
✅ The correct answer is option B.

Categories Engineering, Java concepts and its programming MCQs, Software Engineering MCQs Tags Engineering MCQs, Java concepts and its programming MCQs, Software Engineering MCQs Leave a comment

What will the output of the following program? public class Test{ public static void main(String args[]){float f = (1 / 4) * 10; int i = Math.round(f); System.out.println(i); } } ?

September 13, 2025 by Admin
A. 0
B. 1
C. 2
D. 3
✅ The correct answer is option A.

Categories Engineering, Java concepts and its programming MCQs, Software Engineering MCQs Tags Engineering MCQs, Java concepts and its programming MCQs, Software Engineering MCQs Leave a comment

JAR file contains the compressed version of_________________?

September 13, 2025 by Admin
A. .java file
B. .jsp file
C. .class file
D. None of above
✅ The correct answer is option C.

Categories Engineering, Java concepts and its programming MCQs, Software Engineering MCQs Tags Engineering MCQs, Java concepts and its programming MCQs, Software Engineering MCQs Leave a comment

In java, gc() method is available in which package ?

September 13, 2025 by Admin
A. java.io package
B. java.lang package
C. java.awt package
D. java.util package
✅ The correct answer is option B.

Categories Engineering, Java concepts and its programming MCQs, Software Engineering MCQs Tags Engineering MCQs, Java concepts and its programming MCQs, Software Engineering MCQs Leave a comment

What is meaning of jar ?

September 13, 2025 by Admin
A. java array
B. java architecture
C. java archived
D. none of these
✅ The correct answer is option C.

Categories Engineering, Java concepts and its programming MCQs, Software Engineering MCQs Tags Engineering MCQs, Java concepts and its programming MCQs, Software Engineering MCQs Leave a comment

Size of float and double in Java is________________?

September 13, 2025 by Admin
A. 32 and 64
B. 64 and 64
C. 32 and 32
D. 64 and 32
✅ The correct answer is option A.

Categories Engineering, Java concepts and its programming MCQs, Software Engineering MCQs Tags Engineering MCQs, Java concepts and its programming MCQs, Software Engineering MCQs Leave a comment

Which type of inheritance is not supported by java_____________?

September 13, 2025 by Admin
A. Single
B. Mulilevel
C. Hirarchical
D. Multiple
✅ The correct answer is option D.

Categories Engineering, Java concepts and its programming MCQs, Software Engineering MCQs Tags Engineering MCQs, Java concepts and its programming MCQs, Software Engineering MCQs Leave a comment
Older posts
Newer posts
← Previous Page1 … Page4 Page5 Page6 … Page8 Next →
GetMCQs:

  

  • Arts Subjects MCQs
  • Aptitude MCQs
  • Biology
  • Chemistry
  • English
  • Everyday Science
  • General Knowledge
  • Pedagogy
  • Psychology
  • Physics
  • Punjab Public Service Commission (PPSC) - Past Papers
  • Sociology

  

  • Chemical Engineering
  • Civil Engineering
  • Environmental Engineering
  • Mechanical Engineering
  • Software Engineering
  • Electrical Engineering

  

  • All Computer MCQs
  • Basics of Computer Science
  • Operating System
  • MS Word
  • MS Excel
  • MS PowerPoint

MCQs

2026 Antonyms MCQs Art Basic Chemical Engineering MCQs Basic General Knowledge MCQs Basics of Computer Science MCQs Chemical Engineering Chemical Process MCQs Civil Engineering Civil Engineering Mcqs MCQs Common Error Detection MCQs Computer Costing Engineering English Environmental Science MCQs Everyday Science MCQs Financial Management Fluid Mechanics MCQs General Anatomy Mcqs General Knowledge GK Idioms And Phrases MCQs Insurance International Finance and Treasury MCQs Islamic Studies Machine Design MCQs Management Mass Transfer MCQs Mechanical Engineering Medical MS Office One Word Substitution MCQs Operating System Physiology Mcqs PPSC PPSC Past Papers Related Pair of Words MCQs Sentence Completion MCQs Software Engineering MCQs Sports MCQs SSC Synonyms MCQs Theory of machines MCQs UPSC
© 2026 GetMCQs.com – Competitive Exam MCQs & Quizzes • Built with GeneratePress