Multiple Choice Java Swing

Our 1000+ Java questions and answers focuses on all areas of Java subject covering 100+ topics in Java. These topics are chosen from a collection of most authoritative and best reference books on Java. One should spend 1 hour daily for 2-3 months to learn and assimilate Java comprehensively. This way of systematic learning will prepare anyone easily towards Java interviews, online tests, examinations and certifications.
Java Multiple Choice Questions and Answers GUI Swing - wadiemendja/Multiple-Choice-Quiz. Java Swing assessment test may contain MCQs (Multiple Choice Questions), MAQs (Multiple Answer Questions), Fill in the Blanks, Whiteboard Questions, Audio.
– 1000+ Multiple Choice Questions & Answers in Java with explanations
– Every MCQ set focuses on a specific topic in Java Subject
Who should Practice these Java Questions?
– Anyone wishing to sharpen their skills on Java programming language
– Anyone preparing for aptitude test in Java (both objective type test and Java coding written test)
– Anyone preparing for interviews (campus/off-campus interviews, walk-in interview and company interviews)
– Anyone preparing for entrance examinations and other competitive examinations
– All – Experienced, Freshers and Students
Here’s list of Questions & Answers on Java Programming covering 100+ topics:
1. Questions on Data Types, Variables and Arrays
The section contains questions on integer, character, floating and boolean data types, variables, type casting and conversions and properties of arrays.
| Integer and Floating Data Types Character and Boolean Data Types Data Type – Enums Data Type – BigDecimal Data Type – Date & TimeZone | Literals & Variables Type Conversions, Promotions and Castings Arrays Data Structures – Arrays |
2. Questions and Answers on Operators and Control Statements
The section contains questions and answers on arithmetic, bitwise, relational, boolean and assignment operators. The section also contains questions on control statements.
| Arithmetic Operators Bitwise Operators Relational Operators and Boolean Logic Operators Assignment Operators and Operator Precedence | Control Statements – 1 Control Statements – 2 For-each Loop |
3. Questions and Answers on Java Environment & OOPS Concepts
The section contains questions and answers on oops concepts, jdk, jre, jit and jvm, polymorphism, encapsulation and java buzzwords.
| Concepts of OOPS JDK, JRE, JIT & JVM | Java Polymorphism & Encapculation Java Buzzwords |
4. Questions on Classes and Methods
The section contains questions on fundamentals of classes, methods basics, heap and garbage collection, object creation, constructors, access control, string class, method overloading and static keyword, command line arguments and recursion.
| Class Fundamentals & Declaring objects Introduction to Methods Constructors & Garbage Collection Constructors Heap and Garbage Collection Overloading Methods & Argument Passing Access Control – 1 Access Control – 2 | Arrays Revisited & Keyword static String Class Methods Taking Parameters Command Line Arguments – 1 Command Line Arguments – 2 Recursion Varargs |
5. Questions and Answers on Inheritance
The section contains questions and answers on the concepts of objects, method overriding, inheritance, abstract class and super.
| Method Overriding The Object Class Inheritance – Abstract Class and Super | Inheritance – 1 Inheritance – 2 |
6. Questions on String Handling
The section contains questions on the character extraction, string handling functions like stringbuffer class and methods, stringjoiner class and other string comparison functions.
| String Handling Basics Character Extraction String Comparison Searching & Modifying a String | StringBuffer Class StringBuffer Methods StringJoiner Class Special String Operation |
7. Questions and Answers on Exploring java.lang & java.io
The section contains questions and answers on various concepts of java.lang like data types, types of classes, character and byte streams, builtin exceptions, rounding functions, system class, byte, short, double and float wrappers, character and boolean wrappers and environment properties.
| Java.lang Introduction Java.lang – Integer, Long And Character Wrappers Java.lang – Void, Process and System Class Java.lang – Object & Math Class Java.lang – System Class Advance Java.lang – Double & Float Wrappers Java.io Introduction Java.io Byte Streams Java.io Character Streams Memory Management | Java’s Built in Exceptions Java.lang – Rounding Functions Java.lang – Byte & Short Wrappers Java.lang – Character Wrapper Advance Java.lang – Boolean Wrapper Advance Java.lang – Miscellaneous Math Methods & StrictMath Class Java.lang – Runtime & ClassLoader Classes java.lang – Class Java.lang – ThreadGroup Class & Runnable Interface Environment Properties |
8. Questions on Serialization & Networking
The section contains questions on networking basics, server, sockets and httpd class, serialization, deserialization, url class, networking datagrams, htttpresponse and urlconnection class.
| Serialization – 1 Serialization – 2 Serialization & Deserialization Networking Basics Networking – Server, Sockets & httpd Class | Networking – httpd.java Class URL Class HttpResponse & URLConnection Class Networking – Datagrams |
9. Questions and Answers on java.util – The Collections Framework
The section contains questions and answers on aspects of java.util like maps, array list, hash set, tree set, linked list, stacks, vectors, dictionary and hash table, rmi, iterators, collection framework overview, collection interface and algorithms.
| Java.util – ArrayList Class Data Structures – HashMap Data Structures – List Data Structures – Set Java.util – LinkedList, HashSet & TreeSet Class Java.util – Maps Java.util – Vectors & Stack Java.util – Dictionary, Hashtable & Properties Java.util – BitSet & Date class | Remote Method Invocation (RMI) Collection Framework Overview Iterators Data Structures – Queue Java.util – Array Class Collections Interface Collection Algorithms Collection Classes Legacy Classes and Interfaces |
10. Questions on Exception Handling
The section contains questions on basics of exception handling, exception types like throw, throws and nested try.
| Exceptional Handling Basics Exceptional Handling Exceptions Types Throw, Throws & Nested Try | Finally & Built in Exceptions Try & Catch Creating Exceptions |
11. Questions and Answers on Multithreading
The section contains questions and answers on basics of multithreading, thread basics, thread creation, isAlive(), join() and thread synchronization basics. How to download and install intertops poker for mac.
| isAlive(), Join() & Thread Synchronization Implementing Runnable Interface for Threads Thread Class | Multithreading Basics Multithreading Creating Threads |
12. Questions on I/O & Applets
The section contains questions on applets fundamentals, static import, basics of I/O, file reading and writing and reading console i/p and writing console o/p.
| Input & Output Basics Reading Console Input Writing Console Output Reading & Writing Files | Applets Fundamentals Assertion Static Import |
13. Questions and Answers on Regular Expressions
The section contains questions and answers on regular expressions and text formatting.
| Text Formatting | Regular Expression |
14. Questions on Event Handling
The section conatins questions on basics of event handling, different types of event handling classes like actionevent, componentevent, containerevent, textevent, mouseevent, windowevent and other event listener interfaces.
| Event Handling Basics ActionEvent & AdjustmentEvent Class ComponentEvent, ContainerEvent & FocusEvent Class | MouseEvent, TextEvent & WindowEvent Class Event Listeners Interfaces |
15. Questions and Answers on java.util – More Utility Classes
The section contains questions and answers on locale, random number and classes, timer class, formatter, internationalization, i18n with date, number, currency and time.
| Random Number Locale & Random Classes Observable & Timer Class Logging in Java Internationalization | ResourceBundle Class I18N with Date and Time I18N with Number and Currency Java Regex and java.util.regex Package Formatter |
16. Questions on AWT, Swing & I/O
The section contains questions on awt, swing, java i/o and string swing.
| Java AWT Java Swing | Java I/O Swing with String |
17. Questions and Answers on Interfaces & Packages
The section contains questions and answers on packages, core java api packages, interfaces and its types.
| Packages Interfaces – 1 Interfaces – 2 | Core Java API Packages Type Interface |
18. Questions on Autoboxing & Miscellaneous
The section contains questions on junits, java 8 features, hibernate, file and directory, liskovs principle, aggregration, inference, autoboxing and unboxing.
| JUnits Java 8 Features File and Directory Hibernate Liskovs Principle | Coding Best Practices Autoboxing and Unboxing Java Aggregation Type Inference Expression, Statement, Line and Block in Java |
19. Questions and Answers on Generics
The section contains questions and answers on generics and its methods, wildcards, restrictions and reflecting generics.
| Generics Generic Methods Restrictions on Generics | Wildcards Reflecting on Generics |
20. Questions on Java Beans & JDBC
The section contains questions on java beans, jdbc and design patterns.
| Java Beans JDBC | Design Patterns Design Patterns (Singleton, Factory Method & Abstract Factory) |
21. Questions and Answers on Java Server Technologies & Servlet
The section contains questions and answers on eclipse debugging, web application, servlet, client and server.
| Debugging in Eclipse Web Application | Client and Server Servlet |
22. Questions on Session Management, JSP & API
The section contains questions on session management, jsp and its elements, reflection api, autocloseable, closable and flushable interfaces.
| Session Management JSP JSP Elements | Reflection API AutoCloseable, Closeable & Flushable Interfaces |
23. Questions and Answers on Application Lifecycle & Annotations
The section contains questions and answers on application lifecycle, annotations, reflection, dynamic installation and invocation.
| Application Lifecycle – Ant, Maven and Jenkins Annotations Annotations vs Descriptors (XML) | Annotations vs Descriptors (XML) Annotation (Aspect-Oriented Progamming) Reflection, Dynamic Instantiation and Dynamic Invocation |
24. Questions on Packages & Sockets
The section contains questions on reflection, class<t> class, metadata uses, packages, sockets, http and tcp servers.
| Reflection, The Class<T> Class, Uses for Meta-Data Packages java.lang.reflect | Sockets, Socket Class, ServerSocket Class Non-Blocking Socket, Http and Other Tcp Servers |
25. Questions and Answers on Database Programming
The section contains questions and answers on database and sql basics, relational databases, rmi client and server implementation, ddl and dml basics, advanced jdbs and sql escape syntax.
| Database and SQL Fundamentals RMI Client & Server Implementation Relational Databases, Sequences & Stored Procedures | Introduction to DDL & DML Advanced JDBS, Batch Processing & SQL Escape Syntax |
26. Questions on GUI Programming
The section contains questions on row sets, j2ee programming, rowset specialization, struts, map interfaces and classes.
| Introduction of Row Sets, Row Sets in GUI and J2EE Programming RowSet Specialization, Cached RowSet Map Interfaces | Map Classes Struts |
27. Questions and Answers on JSF, EJB & Security
The section contains various questions and answers on jsf, ejb and java se security.
| JSF (Java Server Faces) Introduction of EJB ( Enterprise Java Bean) | Java SE Security |
28. Questions on other OpenCv, System & Spring Framework
The section contains questions on opencv for java, currenttimemillis() method and spring framework.
| OpenCv for Java System Using CurrentTimeMillis() Method | Spring Framework |
Here’s the list of Best Reference Books in Java Programming Language.
Wish you the best in your endeavor to learn and master Java programming language!
Here are the Java Swing Questions and answers with the Free PDFs to download.It is lightweight.
It supports pluggable look and feel.
It follows MVC (Model View Controller) architecture.
By creating the object of Frame class (association)
By extending Frame class (inheritance)
A) True
B) False
1) Implement the Listener interface and overrides its methods
2) Register the component with the Listener
- «
- 1