Is sizeof a keyword?
Is sizeof a keyword? The sizeof operator is not a keyword in Java. 2013-04-11, 1821👍, 0💬
What state does a thread enter when it terminates its processing?
What state does a thread enter when it terminates its processing? When a thread terminates its processing, it enters the dead state. 2013-04-09, 1858👍, 0💬
Which containers use a FlowLayout as their default layout?
Which containers use a FlowLayout as their default layout? The Panel and Applet classes use the FlowLayout as their default layout. 2013-04-09, 1855👍, 0💬
Do not use the String contatenation operator in lengthy loops or other places where performance could suffer. Is that true?
Do not use the String contatenation operator in lengthy loops or other places where performance could suffer. Is that true? Yes. 2013-04-08, 1804👍, 0💬
Can Java code be compiled to machine dependent executable file?
Can Java code be compiled to machine dependent executable file? Yes. There are many tools out there. If you did so, the generated exe file would be run in the specific platform, not cross-platform. 2013-04-06, 1813👍, 0💬
What is meant by "Abstract Interface"?
What is meant by "Abstract Interface"? First, an interface is abstract. That means you cannot have any implementation in an interface. All the methods declared in an interface are abstract methods or signatures of the methods. 2013-04-06, 1746👍, 0💬
What is tunnelling?
What is tunnelling? Tunnelling is a route to somewhere. For example, RMI tunnelling is a way to make RMI application get through firewall. In CS world, tunnelling means a way to transfer data. 2013-04-05, 1806👍, 0💬
What is the difference between a Scrollbar and a ScrollPane?
What is the difference between a Scrollbar and a ScrollPane? A Scrollbar is a Component, but not a Container. A ScrollPane is a Container. A ScrollPane handles its own events and performs its own scrolling. 2013-04-05, 1872👍, 0💬
What restrictions are placed on method overloading?
What restrictions are placed on method overloading? Two methods may not have the same name and argument list but different return types. 2013-04-01, 1793👍, 0💬
How to make a class or a bean serializable?
How to make a class or a bean serializable? By implementing either the java.io.Serializable interface, or the java.io.Externalizable interface. As long as one class in a class's inheritance hierarchy implements Serializable or Externalizable, that class is serializable. 2013-04-01, 1786👍, 0💬
What is transient variable?
What is transient variable? Transient variable can't be serialize. For example if a variable is declared as transient in a Serializable class and the class is written to an ObjectStream, the value of the variable can't be written to the stream instead when the class is retrieved from the ObjectStrea... 2013-03-29, 1847👍, 0💬
What is a platform?
What is a platform? A platform is the hardware or software environment in which a program runs. Most platforms can be described as a combination of the operating system and hardware, like Windows 2000 and XP, Linux, Solaris, and MacOS. 2013-03-29, 1815👍, 0💬
How do you enable the concurrent garbage collector on Sun's JVM?
How do you enable the concurrent garbage collector on Sun's JVM? -Xconcgc options allows us to use concurrent garbage collector (1.2.2_07+)we can also use -XX:+UseConcMarkSweepGC which is available beginning with J2SE 1.4.1. 2013-03-28, 1755👍, 0💬
When to Use the Incremental Low Pause Collector?
When to Use the Incremental Low Pause Collector? Use the incremental low pause collector when your application can afford to trade longer and more frequent young generation garbage collection pauses for shorter tenured generation pauses. A typical situation is one in which a larger tenured generatio... 2013-03-28, 1810👍, 0💬
What is Incremental Low Pause Collector?
What is Incremental Low Pause Collector? The incremental low pause collector is a generational collector similar to the default collector. The minor collections are done with the same young generation collector as the default collector. Do not use either -XX:+UseParallelGC or -XX:+UseParNewGC with t... 2013-03-27, 1789👍, 0💬
When to Use the Concurrent Low Pause Collector?
When to Use the Concurrent Low Pause Collector? Use the concurrent low pause collector if your application would benefit from shorter garbage collector pauses and can afford to share processor resources with the garbage collector when the application is running. Typically applications which have a r... 2013-03-27, 1836👍, 0💬
What is a Concurrent Low Pause Collector?
What is a Concurrent Low Pause Collector? The concurrent low pause collector is a generational collector similar to the default collector. The tenured generation is collected concurrently with this collector. This collector attempts to reduce the pause times needed to collect the tenured generation.... 2013-03-26, 1843👍, 0💬
How To Test Transaction Isolation Levels? - MySQL FAQs - Transaction Management: Commit or Rollback ...
How will you freeze the requirement in this case? What will be your requirement satisfaction criteri...
Assuming that the structure of a table shows two columns like this: --------+------------+-- ----+---...
How To Truncate an Array? - PHP Script Tips - PHP Built-in Functions for Arrays If you want to remov...
.NET INTERVIEW QUESTIONS - How can you avoid deadlock in threading? A good and careful planning can ...