Cracking the Java Coding Interview pdfdrive com


debugging, and online help are integrated in one graphical user interface


Download 1.48 Mb.
Pdf ko'rish
bet15/182
Sana02.05.2023
Hajmi1.48 Mb.
#1423275
1   ...   11   12   13   14   15   16   17   18   ...   182
Bog'liq
Cracking the Java Coding Interview ( PDFDrive )

debugging, and online help are integrated in one graphical user interface.
Just enter source code in one window or open an existing file in a window,
then click a button, menu item, or function key to compile and run the
program.
If you want to learn Java step By Step as you think your Java
Programming is weak you can try this book “
Core Java Professional”
available on Amazon.com authored By Harry.
Creating, Compiling, and Executing a Java Program:
You have to create your program and compile it before it can be executed. This
process is repetitive, as shown in Figure 1.9. If your program has compilation
errors, you have to modify the program to fix them, and then recompile it. If
your program has runtime errors or does not produce the correct result, you have
to modify the program, recompile it, and execute it again.


Question Can we define private and protected modifiers for variables in interfaces? (Core Java)
Answer No.
Question What is the query used to display all tables names in SQL Server (Query analyzer)? (JDBC)
Answer select * from information_schema.tables
Question What is Externalizable? (Core Java)
Answer Externalizable is an Interface that extends Serializable Interface. And
sends data into Streams in Compressed Format. It has two methods,
writeExternal(ObjectOuput out) and readExternal(ObjectInput in)
Question What modifiers are allowed for methods in an Interface? (Core
Java)
Answer Only public and abstract modifiers are allowed for methods in
interfaces.
Question What is a local, member and a class variable? (Core Java)
Answer Variables declared within a method are "local" variables. Variables
declared within the class i.e not within any methods are "member" variables
(global variables). Variables declared within the class i.e not within any methods
and are defined as "static" are class variables.


and are defined as "static" are class variables.

Download 1.48 Mb.

Do'stlaringiz bilan baham:
1   ...   11   12   13   14   15   16   17   18   ...   182




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling