About Me
- Troubleshooter
Follow us on Facebook
Google ads
Java interview questions and answers
- What is garbage collection? What is the process that is responsible for doing that in java? - Reclaiming the unused memory by the invalid objects. Garbage collector is responsible for this process
- What kind of thread is the Garbage collector thread? - It is a daemon thread.
- What is a daemon thread? - These are the threads which can run without user intervention. The JVM can exit when there are daemon thread by killing them abruptly.
- How will you invoke any external process in Java? - Runtime.getRuntime().exec(….)
- What is the finalize method do? - Before the invalid objects get garbage collected, the JVM give the user a chance to clean up some resources before it got garbage collected.
- What is mutable object and immutable object? - If a object value is changeable then we can call it as Mutable object. (Ex., StringBuffer, …) If you are not allowed to change the value of an object, it is immutable object. (Ex., String, Integer, Float, …)
- What is the basic difference between string and stringbuffer object? - String is an immutable object. StringBuffer is a mutable object.
- What is the purpose of Void class? - The Void class is an uninstantiable placeholder class to hold a reference to the Class object representing the primitive Java type void.
- What is reflection? - Reflection allows programmatic access to information about the fields, methods and constructors of loaded classes, and the use reflected fields, methods, and constructors to operate on their underlying counterparts on objects, within security restrictions.
- What is the base class for Error and Exception? - Throwable
- What is the byte range? -128 to 127
- What is the implementation of destroy method in java.. is it native or java code? - This method is not implemented.
- What is a package? - To group set of classes into a single unit is known as packaging. Packages provides wide namespace ability.
- What are the approaches that you will follow for making a program very efficient? - By avoiding too much of static methods avoiding the excessive and unnecessary use of synchronized methods Selection of related classes based on the application (meaning synchronized classes for multiuser and non-synchronized classes for single user) Usage of appropriate design patterns Using cache methodologies for remote invocations Avoiding creation of variables within a loop and lot more.
- What is a DatabaseMetaData? - Comprehensive information about the database as a whole.
- What is Locale? - A Locale object represents a specific geographical, political, or cultural region
- How will you load a specific locale? - Using ResourceBundle.getBundle(…);
- What is JIT and its use? - Really, just a very fast compiler… In this incarnation, pretty much a one-pass compiler — no offline computations. So you can’t look at the whole method, rank the expressions according to which ones are re-used the most, and then generate code. In theory terms, it’s an on-line problem.
- Is JVM a compiler or an interpreter? - Interpreter
- When you think about optimization, what is the best way to findout the time/memory consuming process? - Using profiler
- What is the purpose of assert keyword used in JDK1.4.x? - In order to validate certain expressions. It effectively replaces the if block and automatically throws the AssertionError on failure. This keyword should be used for the critical arguments. Meaning, without that the method does nothing.
- How will you get the platform dependent values like line separator, path separator, etc., ? - Using Sytem.getProperty(…) (line.separator, path.separator, …)
- What is skeleton and stub? what is the purpose of those? - Stub is a client side representation of the server, which takes care of communicating with the remote server. Skeleton is the server side representation. But that is no more in use… it is deprecated long before in JDK.
- What is the final keyword denotes? - final keyword denotes that it is the final implementation for that method or variable or class. You can’t override that method/variable/class any more.
- What is the significance of ListIterator? - You can iterate back and forth.
- What is the major difference between LinkedList and ArrayList? - LinkedList are meant for sequential accessing. ArrayList are meant for random accessing.
- What is nested class? - If all the methods of a inner class is static then it is a nested class.
- What is inner class? - If the methods of the inner class can only be accessed via the instance of the inner class, then it is called inner class.
- What is composition? - Holding the reference of the other class within some other class is known as composition.
- What is aggregation? - It is a special type of composition. If you expose all the methods of a composite class and route the method call to the composite method through its reference, then it is called aggregation.
- What are the methods in Object? - clone, equals, wait, finalize, getClass, hashCode, notify, notifyAll, toString
- Can you instantiate the Math class? - You can’t instantiate the math class. All the methods in this class are static. And the constructor is not public.
- What is singleton? - It is one of the design pattern. This falls in the creational pattern of the design pattern. There will be only one instance for that entire JVM. You can achieve this by having the private constructor in the class. For eg., public class Singleton { private static final Singleton s = new Singleton(); private Singleton() { } public static Singleton getInstance() { return s; } // all non static methods … }
- What is DriverManager? - The basic service to manage set of JDBC drivers.
- What is Class.forName() does and how it is useful? - It loads the class into the ClassLoader. It returns the Class. Using that you can get the instance ( “class-instance”.newInstance() ).
System Mechanic Professional 10.0.0.76
System Mechanic Tool description
System Mechanic Professional is five complete products in one integrated package: everything you need to keep your PC safe, fast, and error-free
World-Class Internet Security:
· Block spyware and other dangerous software
· Shield your PC from viruses, worms, and Trojans
· Defend against hackers and identity thieves
· Prevent unauthorized access and remote attacks
· Repair dangerous Windows security vulnerabilities
Total PC Optimization, Repair and Maintenance:
· Complete one-click repair, acceleration, and clean-up
· Streamline Windows by removing system and Internet clutter
· Fix annoying errors and prevent them in the future
· Increase system and Internet performance up to 300%
· Optimize settings for maximum speed and stability
· Automatic care provides hassle-free on-going maintenance
Developer : iolo technologies
License / Price : Shareware / Trial
Crack : Rapidshare | Megaupload [Note: This cracks/patches are not developed by our team, and Piracy of software is illegal, Download at your own Risk]
Size / OS : ~ 69MB with activator / Windows All
Category : System | Maintenance | Tweak
Download Link : Rapidshare
Screen Shot :
USB Virus/Malicious File Detector Tool
USB Virus / Malicious File Detector Tool description
Detecting the Malicious Script files & Autorun.inf file present in the Removal Disk
This tool is very much useful if you think your system is been attacked or loaded with malicious files or virus which comes through the USB drives.
It detects the USB drives connected to the system, and then it displays you the list of malicious files and the autorun.inf file if it is present in the removal disk.
Developer : Aryanz001 (balamurugan)
License / Price : Freeware / FREE
Size / OS : 190 MB / Windows All
Category : System | Security
Download Link : Rapidshare [ Part 1 || Part 2 || Part 3 || Part 4 ]
Megaupload [ Part 1 || Part 2 || Part 3 || Part 4 ]
Screen Shot : [Not Available Right Now]
Secure Folder 3.1.0.0
Secure Folder description - Secure your folders with this tool.
Secure Folder is a simple, tiny program developed to help you password secure your folders with just a few clicks. The secured folders cannot be deleted, renamed, moved, copied, modified, accessed.
Here are some key features of "Secure Folder":
· Unlimited number of folders can be protected at the same time.
· Intuitive & easy-to-use interface.
· Implements 256-bit AES (Rijndael) algorithm to encrypt your private files.
7 protection mode available:
· "Lock"
· "Hide"
· "Hide & Lock"
· "Encrypt"
· "Encrypt & Lock"
· "Hide & Encrypt"
· "Hide + Encrypt + Lock"
· Effective password protection while running program.
· Clears records of recently accessed documents.
· Removing or uninstalling will not uncover locked folders.
· Windows Explorer integration.
· Supports Drag & Drop.
License / Price : Freeware / FREE
Size / OS : 184 KB / Windows XP / Vista / 7
Last Updated : November 13th, 2010, 11:41 UTC
Category : System | Security
Download Link : Rapidshare | Megaupload
ScreenShot:
System Information Gathering Tool 1.2.0
System Information Gathering Tool description
Gather system information with this application.
System Information Gathering Tool is a handy, easy to use tool specially designed to offer users a simple way to gather information from a remote / local system.
It consists of the application and an XML-based settings file. When deployed to a remote computer, any user with appropriate permissions can run the application to generate information important to troubleshooting in your enterprise.
Developer : John Landers
License / Price : Freeware / FREE
Size / OS : 30 KB / Windows All
Last Updated : November 13th, 2010, 11:52 UTC
Category : System | System Info
Download Link : Rapidshare | Megaupload
Screen Shot :
Software Updates
From today[13Nov2010], this blog site will be updating upcoming software's and the review of the software as well as Trial version and the Link to the Crack ‘ll be shared [note: crack and serials are not developed by the author of this blog]So visit, regularly even bookmark this blog and get updated frequently.
Share the post with others so that every one can make use of it.
Proud to be at SRM RAMAPURAM
"Its a matter of great shame for all the students of all departments
of SRM RAMAPURAM campus that, we proved every one, that we are not united. We
our-self showed the world that we have thousands of problems in-between
us. Hitting students physically showed that we are Humans with no
feelings at all.
Making students get admitted in ICU at hospital, beating them
physically and damaging the college and public property are all that
we have learned from our parents"
Great job done..."
Proud to be at SRM RAMAPURAM
Forwarded message from some one named Majesty,
Centre to derecognize 44 deemed universities
Centre to derecognize 44 deemed universities
New Delhi, Jan 18, 2010: The Centre today told the Supreme Court that it has decided to withdraw the "deemed" status to 44 universities in the country alleging these were being run as family fiefdoms rather than on academic considerations.
The decision to move the apex court follows a government study on 126 deemed universities across the country.
According to the Centre, most of the 44 erring deemed universities were offering post-graduate and undergraduate courses that are "fragmented with concocted nomenclatures" and seats "disporortionately" increased beyond the actual intake capacity.
While 38 deemed universities were found to doing a good job , 44 others have been given three years to improve.
The remaining 44 were found completely unfit.
The list includes the Devraj Urs University in Karnataka, DY Patil University in Maharashtra, the Manav Rachna Institute in Gurgaon and the Savita Institute and Vinayaka Mission in Tamil Nadu.
Union Human Resource Development Minister Kapil Sibal has already got a legal opinion from the Solicitor General Gopal Subramaniam on the deemed university issue.
Lawyer Viplav Sharma had filed public interest litigation in 2006 in the Supreme Court seeking regulation of deemed universities in the country.