Posts

MCQ of Java for Java Proficiency test [Solved PDF] - 3

All java classes are derived from A) java.lang.Class B) java.util.Name C) java.lang.Object D) java.awt.Window   The jdb is used to A) Create a jar archive B) Debug a java program C) Create C header file D) Generate java documentation   What would happen if "String[]args" is not included as argument in the main method. A) No error B) Compilation error C) Program won't run D) Program exit   For execution of DELETE SQL query in JDBC, ............. method must be used. A) executeQuery() B) executeDeleteQuery() C) executeUpdate() D) executeDelete()   Which method will a web browser call on a new applet? A) main method B) destroy method C) execute method D) init method   Which of the following is not mandatory in variable declaration? A) a semicolon B) an identifier C) an assignment D) a data type   When a program class implements an interface, it must provide behavior for A) two methods defined in that interface B) any methods in a class C) only certain methods ...

MCQ of Java - 2 [Solved PDF]

The JDBC-ODBC bridge allows ……….. to be used as ……….. A) JDBC drivers, ODBC drivers B) Drivers, Application C) ODBC drivers, JDBC drivers D) Application, drivers   Which of the following is true about Java. A) Java does not support overloading. B) Java has replaced the destructor function of C++ C) There are no header files in Java. D) All of the above.   ……………. are not machine instructions and therefore, Java interpreter generates machine code that can be directly executed by the machine that is running the Java program. A) Compiled Instructions B) Compiled code C) byte code D) Java mid code   The command javac A) Converts a java program into binary code B) Converts a java program into bytecode C) Converts a java program into machine language D) None of the above.   Which of the following is not the java primitive type A) Byte B) Float C) Character D) Long double   Command to execute compiled java program is A) java B) javac C) run D) javaw   Java Servlet ...

MCQ of Basics of Java [Solved PDF] - 1

Java programs are A) Faster than others B) Platform independent C) Not reusable D) Not scalable   Java has its origin in A) C programming language B) PERRL C) COBOL D) Oak programming language   Which one of the following is true for Java A) Java is object oriented and interpreted B) Java is efficient and faster than C C) Java is the choice of everyone. D) Java is not robust.   The command javac is used to A) debug a java program B) compile a java program C) interpret a java program D) execute a java program   Java servlets are an efficient and powerful solution for creating ………….. for the web. A) Dynamic content B) Static content C) Hardware D) Both a and b   Filters were officially introduced in the Servlet ……………… specification. A) 2.1 B) 2.3 C) 2.2 D) 2.4 Which is the root class of all AWT events A) java.awt.ActionEvent B) java.awt.AWTEvent C) java.awt.event.AWTEvent D) java.awt.event.Event   OOP features are i) Increasing productivity                   ...

Core Java Minor Project Ideas

“ Java Project Ideas ” is one of the common question ask when you have to choose a topic for you final year or semester projects. at that time you begin to ask “ what topic should you choose for you project “. Here are the some project ideas - New Patient Registry Management System Restaurant Billing Management System Library Management System ATM Management System Bus Ticket Booking Management System Movie Ticket Booking Management System Attendance Management System Medical Store Billing Management System Text Editor Projects in Java [I don't consider this single ideas a project] Currency Converter Project in Java[I don't consider this single ideas a project] Distance Calculator using Google API Advanced Calculator Project in Java[I don't consider this single ideas a project] Time Conversion by Country Java Project[I don't consider this single ideas a project] IP Address Detector [I don't consider this single ideas a project] Employee...

Free Download Code::Blocks

Image
Code::Blocks is a free development environment for the C++ programming language. It supports 20 different compilers, including Microsoft Visual C++, C Tiny, Digital Mars, and Borland C ++. Plugins galore The program is fully configurable thanks to the numerous plugins and options . Features such as automatic formatting of code or even creating short games in the integrated development environment (IDE) can be accessed at any time by selecting the corresponding extension. Fast build process Code::Blocks gets rid of makefiles , making the build process much faster . If support for parallel compilation was added, the speed with which you can bake your binaries would be tremendous. Help is always at hand (in a PDF) What Code::Blocks offers is typical of any IDE worth its salt: tabs, line numbering, colored syntax, code auto completion, smart indentation, and so on. If you ever get stuck, just check out the PDF manual .

16 NetBeans Shortcut Keys for Code Editing

Image
Do you know that shortcuts help you accelerate your development productivity? Indeed, the more time you use keyboards, the higher efficiency you get. Therefore today I’m going to share with you the common shortcut keys which are designed for editing code in NetBeans IDE. NOTE: Standard shortcuts are not covered, such as Ctrl + Space (auto-complete), Ctrl + A (select all), Ctrl + Z (undo), and the like. Ctrl + E or Shift + Delete : deletes the current line. Ctrl + Delete: deletes the next word after the cursor. If it is a compound (i.e. using camel case like fileHandler), then only the first word is deleted. Ctrl + Backspace: deletes the previous word before the cursor. Alt + Shift + Up: Moves up the current line (or a selected block of code) by one line:   Alt + Shift + Down: Moves down the current line (or a selected block of code) by one line: Ctrl + Shift + Up: Copies and moves up the current line (or a selected block of code) by one line:   Ctrl + Shift ...

JDBC driver library download

In order for Java applications working with a database engine via Java Database Connectivity (JDBC) , an appropriate JDBC driver library is required to be available in the application’s classpath. A JDBC driver library consists of Java classes which implement low-level communication with the database engine. It talks with Java applications via JDBC API and usually bundled as a JAR or ZIP file.For reference, this article provides a summary of JDBC driver download for common databases including MySQL, SQL Server, Oracle, PostgreSQL, Apache Derby (Java DB) and SQLite. Click on a database name to go to download page of the appropriate JDBC driver library. Database Driver provider JAR file name Download size MySQL Oracle Corporation mysql-connector-java-3.0.17-ga-bin.jar 3.8 MB ~ 4.0 MB SQL Server Microsoft Corporation sqljdbc.jar, sqljdbc4.jar 2.3 MB ~ 4.2 MB Oracle Oracle Corporation jodbc5.jar, jodbc6.jar, … 1.2 MB ~ 4.2 MB PostgreSQL The PostgreSQL Global Development Group postgresql-9....